summaryrefslogtreecommitdiffstats
path: root/src/ChunkDef.h
diff options
context:
space:
mode:
authorLO1ZB <andreasdaamen@web.de>2014-08-28 11:36:35 +0200
committerLO1ZB <andreasdaamen@web.de>2014-08-28 11:36:35 +0200
commit3c1c073714e2b0542c9a79db962b6fc9e6ddd352 (patch)
treecf8c191b1642914745944fa376ba1f2f56a95ea6 /src/ChunkDef.h
parentDungeonRooms: Fixed an off-by-one error. (diff)
downloadcuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar
cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar.gz
cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar.bz2
cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar.lz
cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar.xz
cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar.zst
cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.zip
Diffstat (limited to 'src/ChunkDef.h')
-rw-r--r--src/ChunkDef.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ChunkDef.h b/src/ChunkDef.h
index 51075ab4a..b7122efe2 100644
--- a/src/ChunkDef.h
+++ b/src/ChunkDef.h
@@ -19,7 +19,6 @@
/** This is really only a placeholder to be used in places where we need to "make up" a chunk's Y coord.
It will help us when the new chunk format comes out and we need to patch everything up for compatibility.
*/
-#define ZERO_CHUNK_Y 0
// Used to smoothly convert to new axis ordering. One will be removed when deemed stable.
#define AXIS_ORDER_YZX 1 // Original (1.1-)
@@ -377,14 +376,13 @@ class cChunkCoords
{
public:
int m_ChunkX;
- int m_ChunkY;
int m_ChunkZ;
- cChunkCoords(int a_ChunkX, int a_ChunkY, int a_ChunkZ) : m_ChunkX(a_ChunkX), m_ChunkY(a_ChunkY), m_ChunkZ(a_ChunkZ) {}
+ cChunkCoords(int a_ChunkX, int a_ChunkZ) : m_ChunkX(a_ChunkX), m_ChunkZ(a_ChunkZ) {}
bool operator == (const cChunkCoords & a_Other) const
{
- return ((m_ChunkX == a_Other.m_ChunkX) && (m_ChunkY == a_Other.m_ChunkY) && (m_ChunkZ == a_Other.m_ChunkZ));
+ return ((m_ChunkX == a_Other.m_ChunkX) && (m_ChunkZ == a_Other.m_ChunkZ));
}
} ;