aboutsummaryrefslogtreecommitdiff
path: root/src/mapblock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapblock.cpp')
-rw-r--r--src/mapblock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapblock.cpp b/src/mapblock.cpp
index 2bbc0ebbf..bca0c9f2d 100644
--- a/src/mapblock.cpp
+++ b/src/mapblock.cpp
@@ -180,7 +180,7 @@ void MapBlock::actuallyUpdateDayNightDiff()
if (n == previous_n)
continue;
- differs = !n.isLightDayNightEq(nodemgr);
+ differs = !n.isLightDayNightEq(nodemgr->getLightingFlags(n));
if (differs)
break;
previous_n = n;