summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/BlockArea.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/BlockArea.cpp b/src/BlockArea.cpp
index 5c15adfef..c9443c702 100644
--- a/src/BlockArea.cpp
+++ b/src/BlockArea.cpp
@@ -161,6 +161,9 @@ static void MergeCombinatorLake(BLOCKTYPE & a_DstType, BLOCKTYPE a_SrcType, NIBB
// cBlockArea:
cBlockArea::cBlockArea(void) :
+ m_OriginX(0),
+ m_OriginY(0),
+ m_OriginZ(0),
m_SizeX(0),
m_SizeY(0),
m_SizeZ(0),
@@ -190,6 +193,9 @@ void cBlockArea::Clear(void)
delete[] m_BlockMetas; m_BlockMetas = NULL;
delete[] m_BlockLight; m_BlockLight = NULL;
delete[] m_BlockSkyLight; m_BlockSkyLight = NULL;
+ m_OriginX = 0;
+ m_OriginY = 0;
+ m_OriginZ = 0;
m_SizeX = 0;
m_SizeY = 0;
m_SizeZ = 0;