Permalink
Browse files
DungeonRooms: Fixed an off-by-one error.
- Loading branch information...
Showing
with
2 additions
and
2 deletions.
-
+2
−2
src/Generating/DungeonRoomsFinisher.cpp
|
|
@@ -184,9 +184,9 @@ class cDungeonRoom : |
|
|
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)
|
|
|
)
|
|
|
{
|
|
|
|
0 comments on commit
e54c789