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/Generating/Caves.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 '')
-rw-r--r-- | src/Generating/Caves.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Generating/Caves.cpp b/src/Generating/Caves.cpp index 6fc371958..71154dff9 100644 --- a/src/Generating/Caves.cpp +++ b/src/Generating/Caves.cpp @@ -166,6 +166,9 @@ cCaveTunnel::cCaveTunnel( if ((a_BlockStartY <= 0) && (a_BlockEndY <= 0)) { // Don't bother detailing this cave, it's under the world anyway + m_MinBlockX = m_MaxBlockX = 0; + m_MinBlockY = m_MaxBlockY = -1; + m_MinBlockZ = m_MaxBlockZ = 0; return; } |