mirror of
https://github.com/minetest/minetest.git
synced 2024-12-24 15:12:23 +01:00
Reduce block load glitches
See #7542 This reduces glitches in deep water and underground caves.
This commit is contained in:
parent
7ebc229b0d
commit
ba7cf30df9
@ -332,7 +332,7 @@ void RemoteClient::GetNextBlocks (
|
|||||||
differs from day-time mesh.
|
differs from day-time mesh.
|
||||||
*/
|
*/
|
||||||
if (d >= d_opt) {
|
if (d >= d_opt) {
|
||||||
if (!block->getDayNightDiff())
|
if (!block->getIsUnderground() && !block->getDayNightDiff())
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user