Skip to content
Permalink
Browse files

Fix use of uninitialized data

  • Loading branch information
Zeno- committed Jan 14, 2015
1 parent a4a6cc8 commit 57f2fa57cda957be302b3542a59cd51209d46f2d
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/map.cpp
@@ -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;

0 comments on commit 57f2fa5

Please sign in to comment.