diff options
author | Lars Hofhansl <larsh@apache.org> | 2018-07-12 00:53:50 -0700 |
---|---|---|
committer | Lars Hofhansl <larsh@apache.org> | 2018-07-12 00:54:00 -0700 |
commit | ba7cf30df93836247a9232c285ca85659d6578e5 (patch) | |
tree | 8ce1d4fadf839ce5a263e1d5d74dc14f82c4efc4 /src/clientiface.cpp | |
parent | 7ebc229b0d2d59e367b8ba64a41535d79fdd4204 (diff) | |
download | minetest-ba7cf30df93836247a9232c285ca85659d6578e5.tar.gz minetest-ba7cf30df93836247a9232c285ca85659d6578e5.tar.bz2 minetest-ba7cf30df93836247a9232c285ca85659d6578e5.zip |
Reduce block load glitches
See #7542
This reduces glitches in deep water and underground caves.
Diffstat (limited to 'src/clientiface.cpp')
-rw-r--r-- | src/clientiface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |