Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Reduce block load glitches
See #7542
This reduces glitches in deep water and underground caves.
  • Loading branch information
lhofhansl committed Jul 12, 2018
1 parent 7ebc229 commit ba7cf30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clientiface.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit ba7cf30

Please sign in to comment.