projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ebc229
)
Reduce block load glitches
author
Lars Hofhansl
<larsh@apache.org>
Thu, 12 Jul 2018 07:53:50 +0000
(
00:53
-0700)
committer
Lars Hofhansl
<larsh@apache.org>
Thu, 12 Jul 2018 07:54:00 +0000
(
00:54
-0700)
See #7542
This reduces glitches in deep water and underground caves.
src/clientiface.cpp
patch
|
blob
|
history
diff --git
a/src/clientiface.cpp
b/src/clientiface.cpp
index ba24af61fab4ec82abba36a6cef6639078a52e8b..53c3fe9cd282ae4863442f0134c8df5172aae75d 100644
(file)
--- 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->get
IsUnderground() && !block->get
DayNightDiff())
continue;
}