From: Lars Hofhansl Date: Thu, 19 Oct 2017 16:46:30 +0000 (-0700) Subject: Set range of blocks to retrieve per roundtrip to 2. X-Git-Tag: 5.0.0~762 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cdedaac5e299f71df72c2eb49ec52506467af831;p=oweals%2Fminetest.git Set range of blocks to retrieve per roundtrip to 2. This is a small, partial revert of #6483, which had set this to 1. --- 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;