Fix "warning: comparison between signed and unsigned integer expressions"

master
Perttu Ahola 2011-11-25 19:45:04 +02:00
parent 71bc20c453
commit ae9f183cda
1 changed files with 1 additions and 1 deletions

View File

@ -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;