Skip to content

Commit

Permalink
Fix a warning introduced by 4eb59ae
Browse files Browse the repository at this point in the history
  • Loading branch information
nerzhul committed Jul 27, 2017
1 parent 550c040 commit 2015aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapblock.cpp
Expand Up @@ -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];

Expand Down

0 comments on commit 2015aab

Please sign in to comment.