diff options
author | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-18 20:06:11 +0100 |
---|---|---|
committer | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-18 20:06:11 +0100 |
commit | e627f2f98cb9a2ec7cddcaac779350abcbae414a (patch) | |
tree | 6101aa8aa5a0152c278e129a26ba7ca26172597c /src/BlockArea.cpp | |
parent | added zlib (diff) | |
parent | Merge pull request #440 from mc-server/repeaterfixes (diff) | |
download | cuberite-e627f2f98cb9a2ec7cddcaac779350abcbae414a.tar cuberite-e627f2f98cb9a2ec7cddcaac779350abcbae414a.tar.gz cuberite-e627f2f98cb9a2ec7cddcaac779350abcbae414a.tar.bz2 cuberite-e627f2f98cb9a2ec7cddcaac779350abcbae414a.tar.lz cuberite-e627f2f98cb9a2ec7cddcaac779350abcbae414a.tar.xz cuberite-e627f2f98cb9a2ec7cddcaac779350abcbae414a.tar.zst cuberite-e627f2f98cb9a2ec7cddcaac779350abcbae414a.zip |
Diffstat (limited to 'src/BlockArea.cpp')
-rw-r--r-- | src/BlockArea.cpp | 6 |
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; |