summaryrefslogtreecommitdiffstats
path: root/src/ChunkDef.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2019-09-07 23:02:05 +0200
committerMattes D <github@xoft.cz>2019-09-08 20:21:49 +0200
commite4ac84a6ab6354d1b5ff1af90ae896e3704429e7 (patch)
tree492f1667114eb95f75095512876c46c5907ed2b9 /src/ChunkDef.h
parentGenerator: Added repeatability test. (diff)
downloadcuberite-e4ac84a6ab6354d1b5ff1af90ae896e3704429e7.tar
cuberite-e4ac84a6ab6354d1b5ff1af90ae896e3704429e7.tar.gz
cuberite-e4ac84a6ab6354d1b5ff1af90ae896e3704429e7.tar.bz2
cuberite-e4ac84a6ab6354d1b5ff1af90ae896e3704429e7.tar.lz
cuberite-e4ac84a6ab6354d1b5ff1af90ae896e3704429e7.tar.xz
cuberite-e4ac84a6ab6354d1b5ff1af90ae896e3704429e7.tar.zst
cuberite-e4ac84a6ab6354d1b5ff1af90ae896e3704429e7.zip
Diffstat (limited to 'src/ChunkDef.h')
-rw-r--r--src/ChunkDef.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ChunkDef.h b/src/ChunkDef.h
index 95abdaf58..bfac29c5e 100644
--- a/src/ChunkDef.h
+++ b/src/ChunkDef.h
@@ -66,6 +66,11 @@ public:
return ((m_ChunkX == a_Other.m_ChunkX) && (m_ChunkZ == a_Other.m_ChunkZ));
}
+ bool operator != (const cChunkCoords & a_Other) const
+ {
+ return !(operator == (a_Other));
+ }
+
/** Returns a string that describes the chunk coords, suitable for logging. */
AString ToString() const
{