projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71bc20c
)
Fix "warning: comparison between signed and unsigned integer expressions"
author
Perttu Ahola
<celeron55@gmail.com>
Fri, 25 Nov 2011 17:45:04 +0000
(19:45 +0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Tue, 29 Nov 2011 17:13:52 +0000
(19:13 +0200)
src/server.cpp
patch
|
blob
|
history
diff --git
a/src/server.cpp
b/src/server.cpp
index 83412abfb56e6d1136c3d3c172cc934234c18c23..12026054e70d67ab18b1640109eb6cbeee1e14b5 100644
(file)
--- a/
src/server.cpp
+++ b/
src/server.cpp
@@
-688,7
+688,7
@@
void RemoteClient::GetNextBlocks(Server *server, float dtime,
//if(server->m_emerge_queue.peerItemCount(peer_id) < 1)
// Allow two blocks in queue per client
//if(server->m_emerge_queue.peerItemCount(peer_id) < 2)
-
s
32 max_emerge = 25;
+
u
32 max_emerge = 25;
// Make it more responsive when needing to generate stuff
if(surely_not_found_on_disk)
max_emerge = 5;