diff options
author | Alexander Harkness <bearbin@gmail.com> | 2013-11-16 19:52:48 +0100 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2013-11-16 19:52:48 +0100 |
commit | 45aebbd5abe653045a6b647aec61df32b227bc78 (patch) | |
tree | 25a57cf7db3324117cf9087026d02ddbec1238ba /source | |
parent | Got rid of yet another unused variable. (diff) | |
download | cuberite-45aebbd5abe653045a6b647aec61df32b227bc78.tar cuberite-45aebbd5abe653045a6b647aec61df32b227bc78.tar.gz cuberite-45aebbd5abe653045a6b647aec61df32b227bc78.tar.bz2 cuberite-45aebbd5abe653045a6b647aec61df32b227bc78.tar.lz cuberite-45aebbd5abe653045a6b647aec61df32b227bc78.tar.xz cuberite-45aebbd5abe653045a6b647aec61df32b227bc78.tar.zst cuberite-45aebbd5abe653045a6b647aec61df32b227bc78.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Generating/Caves.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Generating/Caves.cpp b/source/Generating/Caves.cpp index 5aebc111b..535ca4fb2 100644 --- a/source/Generating/Caves.cpp +++ b/source/Generating/Caves.cpp @@ -461,7 +461,7 @@ void cCaveTunnel::ProcessChunk( int BaseZ = a_ChunkZ * cChunkDef::Width; if ( (BaseX > m_MaxBlockX) || (BaseX + cChunkDef::Width < m_MinBlockX) || - (BaseX > m_MaxBlockX) || (BaseX + cChunkDef::Width < m_MinBlockX) + (BaseZ > m_MaxBlockZ) || (BaseZ + cChunkDef::Width < m_MinBlockZ) ) { // Tunnel does not intersect the chunk at all, bail out |