summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-12-17 19:45:34 +0100
committermadmaxoft <github@xoft.cz>2013-12-17 20:16:06 +0100
commitbd568ed089a763f58188382175241f11bee690b7 (patch)
tree97f56fe69d0f3cd989256117186bb0809e9eb7a2
parentMerge pull request #439 from mc-server/Buckets (diff)
downloadcuberite-bd568ed089a763f58188382175241f11bee690b7.tar
cuberite-bd568ed089a763f58188382175241f11bee690b7.tar.gz
cuberite-bd568ed089a763f58188382175241f11bee690b7.tar.bz2
cuberite-bd568ed089a763f58188382175241f11bee690b7.tar.lz
cuberite-bd568ed089a763f58188382175241f11bee690b7.tar.xz
cuberite-bd568ed089a763f58188382175241f11bee690b7.tar.zst
cuberite-bd568ed089a763f58188382175241f11bee690b7.zip
-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;