Skip to content
Snippets Groups Projects
Commit 57f2fa57 authored by Zeno-'s avatar Zeno-
Browse files

Fix use of uninitialized data

parent a4a6cc8e
No related branches found
No related tags found
No related merge requests found
......@@ -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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment