Fix a warning introduced by 4eb59aeeb2

This commit is contained in:
Loïc Blot 2017-07-27 16:55:32 +02:00
parent 550c0404a8
commit 2015aaba96
1 changed files with 1 additions and 1 deletions

View File

@ -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];