From 45aebbd5abe653045a6b647aec61df32b227bc78 Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Sat, 16 Nov 2013 18:52:48 +0000 Subject: [PATCH] This is a copy-paste fail, right? --- source/Generating/Caves.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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