summaryrefslogtreecommitdiffstats
path: root/src/ChunkDef.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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
{