mirror of
https://github.com/moparisthebest/minetest
synced 2024-12-24 08:28:49 -05:00
Fix "warning: comparison between signed and unsigned integer expressions"
This commit is contained in:
parent
71bc20c453
commit
ae9f183cda
@ -688,7 +688,7 @@ void RemoteClient::GetNextBlocks(Server *server, float dtime,
|
|||||||
//if(server->m_emerge_queue.peerItemCount(peer_id) < 1)
|
//if(server->m_emerge_queue.peerItemCount(peer_id) < 1)
|
||||||
// Allow two blocks in queue per client
|
// Allow two blocks in queue per client
|
||||||
//if(server->m_emerge_queue.peerItemCount(peer_id) < 2)
|
//if(server->m_emerge_queue.peerItemCount(peer_id) < 2)
|
||||||
s32 max_emerge = 25;
|
u32 max_emerge = 25;
|
||||||
// Make it more responsive when needing to generate stuff
|
// Make it more responsive when needing to generate stuff
|
||||||
if(surely_not_found_on_disk)
|
if(surely_not_found_on_disk)
|
||||||
max_emerge = 5;
|
max_emerge = 5;
|
||||||
|
Loading…
Reference in New Issue
Block a user