diff options
author | Mattes D <github@xoft.cz> | 2014-08-21 22:39:53 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-21 22:39:53 +0200 |
commit | 64fec204c4c5062461a7188b58026d062519b417 (patch) | |
tree | 9ffc538cdb5bd581362542a3fa131efb96b4d9db /src/BlockArea.cpp | |
parent | cSetChunkData: Added missing initializers. (diff) | |
download | cuberite-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.cpp | 4 |
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) { } |