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:
f36e323
)
Set range of blocks to retrieve per roundtrip to 2.
author
Lars Hofhansl
<larsh@apache.org>
Thu, 19 Oct 2017 16:46:30 +0000
(09:46 -0700)
committer
Lars Hofhansl
<larsh@apache.org>
Thu, 19 Oct 2017 16:47:58 +0000
(09:47 -0700)
This is a small, partial revert of #6483, which had set this to 1.
src/clientiface.cpp
patch
|
blob
|
history
diff --git
a/src/clientiface.cpp
b/src/clientiface.cpp
index 529fbc63f0aa3e00f5a0da1fb64ee0270e90c0ab..404ce0d4ed020339c7f1eba0ad676bebc4b97040 100644
(file)
--- a/
src/clientiface.cpp
+++ b/
src/clientiface.cpp
@@
-205,7
+205,7
@@
void RemoteClient::GetNextBlocks (
s16 d_max_gen = std::min(m_max_gen_distance, wanted_range);
// Don't loop very much at a time
- s16 max_d_increment_at_time =
1
;
+ s16 max_d_increment_at_time =
2
;
if (d_max > d_start + max_d_increment_at_time)
d_max = d_start + max_d_increment_at_time;