Skip to content

Commit

Permalink
Fix use of uninitialized data
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeno- committed Jan 14, 2015
1 parent a4a6cc8 commit 57f2fa5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/map.cpp
Expand Up @@ -3660,8 +3660,7 @@ void MMVManip::initialEmerge(v3s16 blockpos_min, v3s16 blockpos_max,
block = svrmap->emergeBlock(p, false);
if (block == NULL)
block = svrmap->createBlock(p);
else
block->copyTo(*this);
block->copyTo(*this);
} else {
flags |= VMANIP_BLOCK_DATA_INEXIST;

Expand Down

0 comments on commit 57f2fa5

Please sign in to comment.