From 57f2fa57cda957be302b3542a59cd51209d46f2d Mon Sep 17 00:00:00 2001 From: Craig Robbins Date: Wed, 14 Jan 2015 15:43:33 +1000 Subject: Fix use of uninitialized data --- src/map.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/map.cpp b/src/map.cpp index 20dc44139..ec2a5f74c 100644 --- a/src/map.cpp +++ b/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; -- cgit v1.2.3