forked from Mirrorlandia_minetest/minetest
Fix use of uninitialized data
This commit is contained in:
parent
a4a6cc8eb1
commit
57f2fa57cd
@ -3660,8 +3660,7 @@ void MMVManip::initialEmerge(v3s16 blockpos_min, v3s16 blockpos_max,
|
|||||||
block = svrmap->emergeBlock(p, false);
|
block = svrmap->emergeBlock(p, false);
|
||||||
if (block == NULL)
|
if (block == NULL)
|
||||||
block = svrmap->createBlock(p);
|
block = svrmap->createBlock(p);
|
||||||
else
|
block->copyTo(*this);
|
||||||
block->copyTo(*this);
|
|
||||||
} else {
|
} else {
|
||||||
flags |= VMANIP_BLOCK_DATA_INEXIST;
|
flags |= VMANIP_BLOCK_DATA_INEXIST;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user