summaryrefslogtreecommitdiffstats
path: root/src/BlockArea.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-21 22:39:53 +0200
committerMattes D <github@xoft.cz>2014-08-21 22:39:53 +0200
commit64fec204c4c5062461a7188b58026d062519b417 (patch)
tree9ffc538cdb5bd581362542a3fa131efb96b4d9db /src/BlockArea.cpp
parentcSetChunkData: Added missing initializers. (diff)
downloadcuberite-64fec204c4c5062461a7188b58026d062519b417.tar
cuberite-64fec204c4c5062461a7188b58026d062519b417.tar.gz
cuberite-64fec204c4c5062461a7188b58026d062519b417.tar.bz2
cuberite-64fec204c4c5062461a7188b58026d062519b417.tar.lz
cuberite-64fec204c4c5062461a7188b58026d062519b417.tar.xz
cuberite-64fec204c4c5062461a7188b58026d062519b417.tar.zst
cuberite-64fec204c4c5062461a7188b58026d062519b417.zip
Diffstat (limited to 'src/BlockArea.cpp')
-rw-r--r--src/BlockArea.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/BlockArea.cpp b/src/BlockArea.cpp
index a0dcb5ec8..90f7ca6c9 100644
--- a/src/BlockArea.cpp
+++ b/src/BlockArea.cpp
@@ -1764,7 +1764,9 @@ NIBBLETYPE cBlockArea::GetNibble(int a_BlockX, int a_BlockY, int a_BlockZ, NIBBL
cBlockArea::cChunkReader::cChunkReader(cBlockArea & a_Area) :
m_Area(a_Area),
- m_Origin(a_Area.m_Origin.x, a_Area.m_Origin.y, a_Area.m_Origin.z)
+ m_Origin(a_Area.m_Origin.x, a_Area.m_Origin.y, a_Area.m_Origin.z),
+ m_CurrentChunkX(0),
+ m_CurrentChunkZ(0)
{
}