aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLoïc Blot <loic.blot@unix-experience.fr>2017-07-27 16:55:32 +0200
committerLoïc Blot <loic.blot@unix-experience.fr>2017-07-27 16:55:32 +0200
commit2015aaba96bdc6a95448e942b6a007d6ed3cddae (patch)
tree75073e344fd726f4c7bf7eaf5e7276b22bafb3ea /src
parent550c0404a8b6fbee857003c961bb802121e88f51 (diff)
downloadminetest-2015aaba96bdc6a95448e942b6a007d6ed3cddae.tar.gz
minetest-2015aaba96bdc6a95448e942b6a007d6ed3cddae.tar.bz2
minetest-2015aaba96bdc6a95448e942b6a007d6ed3cddae.zip
Fix a warning introduced by 4eb59aeeb2f2b535f4eb2a1608189bb03098454e
Diffstat (limited to 'src')
-rw-r--r--src/mapblock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapblock.cpp b/src/mapblock.cpp
index 1a94857af..ca5894794 100644
--- a/src/mapblock.cpp
+++ b/src/mapblock.cpp
@@ -367,7 +367,7 @@ void MapBlock::actuallyUpdateDayNightDiff()
Check if any lighting value differs
*/
- MapNode previous_n;
+ MapNode previous_n(CONTENT_IGNORE);
for (u32 i = 0; i < nodecount; i++) {
MapNode n = data[i];