mirror of
https://github.com/minetest/minetest.git
synced 2025-09-19 19:55:19 +02:00
Reduce block load glitches
See #7542 This reduces glitches in deep water and underground caves.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user