summaryrefslogtreecommitdiffstats
path: root/src/Generating
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-27 19:55:28 +0200
committerMattes D <github@xoft.cz>2014-08-27 19:55:28 +0200
commite54c78923e26e50f8e8839ce352def05a929d9a1 (patch)
treea377adc0da067cc06676fa793828f114a4086905 /src/Generating
parentDebuggers: Added a testcase for OnProjectileHitBlock. (diff)
downloadcuberite-e54c78923e26e50f8e8839ce352def05a929d9a1.tar
cuberite-e54c78923e26e50f8e8839ce352def05a929d9a1.tar.gz
cuberite-e54c78923e26e50f8e8839ce352def05a929d9a1.tar.bz2
cuberite-e54c78923e26e50f8e8839ce352def05a929d9a1.tar.lz
cuberite-e54c78923e26e50f8e8839ce352def05a929d9a1.tar.xz
cuberite-e54c78923e26e50f8e8839ce352def05a929d9a1.tar.zst
cuberite-e54c78923e26e50f8e8839ce352def05a929d9a1.zip
Diffstat (limited to 'src/Generating')
-rw-r--r--src/Generating/DungeonRoomsFinisher.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Generating/DungeonRoomsFinisher.cpp b/src/Generating/DungeonRoomsFinisher.cpp
index 694dcc3cc..f213455d6 100644
--- a/src/Generating/DungeonRoomsFinisher.cpp
+++ b/src/Generating/DungeonRoomsFinisher.cpp
@@ -184,9 +184,9 @@ protected:
virtual void DrawIntoChunk(cChunkDesc & a_ChunkDesc) override
{
if (
- (m_EndX <= a_ChunkDesc.GetChunkX() * cChunkDef::Width) ||
+ (m_EndX < a_ChunkDesc.GetChunkX() * cChunkDef::Width) ||
(m_StartX >= a_ChunkDesc.GetChunkX() * cChunkDef::Width + cChunkDef::Width) ||
- (m_EndZ <= a_ChunkDesc.GetChunkZ() * cChunkDef::Width) ||
+ (m_EndZ < a_ChunkDesc.GetChunkZ() * cChunkDef::Width) ||
(m_StartZ >= a_ChunkDesc.GetChunkZ() * cChunkDef::Width + cChunkDef::Width)
)
{