From: Lars Hofhansl Date: Thu, 12 Jul 2018 07:53:50 +0000 (-0700) Subject: Reduce block load glitches X-Git-Tag: 5.0.0~304 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ba7cf30df93836247a9232c285ca85659d6578e5;p=oweals%2Fminetest.git Reduce block load glitches See #7542 This reduces glitches in deep water and underground caves. --- diff --git a/src/clientiface.cpp b/src/clientiface.cpp index ba24af61f..53c3fe9cd 100644 --- a/src/clientiface.cpp +++ b/src/clientiface.cpp @@ -332,7 +332,7 @@ void RemoteClient::GetNextBlocks ( differs from day-time mesh. */ if (d >= d_opt) { - if (!block->getDayNightDiff()) + if (!block->getIsUnderground() && !block->getDayNightDiff()) continue; }