aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Hofhansl <larsh@apache.org>2017-10-19 09:46:30 -0700
committerLars Hofhansl <larsh@apache.org>2017-10-19 09:47:58 -0700
commitcdedaac5e299f71df72c2eb49ec52506467af831 (patch)
treec2c49aa01000ad07028376e9f18c9ad6447ebf13
parentf36e32317502ef455c5c2e0d10b8c06519188300 (diff)
downloadminetest-cdedaac5e299f71df72c2eb49ec52506467af831.tar.gz
minetest-cdedaac5e299f71df72c2eb49ec52506467af831.tar.bz2
minetest-cdedaac5e299f71df72c2eb49ec52506467af831.zip
Set range of blocks to retrieve per roundtrip to 2.
This is a small, partial revert of #6483, which had set this to 1.
-rw-r--r--src/clientiface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clientiface.cpp b/src/clientiface.cpp
index 529fbc63f..404ce0d4e 100644
--- 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;