diff options
author | Loïc Blot <loic.blot@unix-experience.fr> | 2017-07-27 16:55:32 +0200 |
---|---|---|
committer | Loïc Blot <loic.blot@unix-experience.fr> | 2017-07-27 16:55:32 +0200 |
commit | 2015aaba96bdc6a95448e942b6a007d6ed3cddae (patch) | |
tree | 75073e344fd726f4c7bf7eaf5e7276b22bafb3ea | |
parent | 550c0404a8b6fbee857003c961bb802121e88f51 (diff) | |
download | minetest-2015aaba96bdc6a95448e942b6a007d6ed3cddae.tar.gz minetest-2015aaba96bdc6a95448e942b6a007d6ed3cddae.tar.bz2 minetest-2015aaba96bdc6a95448e942b6a007d6ed3cddae.zip |
Fix a warning introduced by 4eb59aeeb2f2b535f4eb2a1608189bb03098454e
-rw-r--r-- | src/mapblock.cpp | 2 |
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]; |