summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/WorldStorage.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-08-04 13:20:16 +0200
committermadmaxoft <github@xoft.cz>2014-08-04 13:20:29 +0200
commit7bfb0b05d0514c47095ba3ec8ebb6a1073d9962a (patch)
tree31ce509c35c190aab82c86b3252f59b8acc74355 /src/WorldStorage/WorldStorage.h
parentBasicStyleCheck: Dividers are exactly 80 slashes. (diff)
downloadcuberite-7bfb0b05d0514c47095ba3ec8ebb6a1073d9962a.tar
cuberite-7bfb0b05d0514c47095ba3ec8ebb6a1073d9962a.tar.gz
cuberite-7bfb0b05d0514c47095ba3ec8ebb6a1073d9962a.tar.bz2
cuberite-7bfb0b05d0514c47095ba3ec8ebb6a1073d9962a.tar.lz
cuberite-7bfb0b05d0514c47095ba3ec8ebb6a1073d9962a.tar.xz
cuberite-7bfb0b05d0514c47095ba3ec8ebb6a1073d9962a.tar.zst
cuberite-7bfb0b05d0514c47095ba3ec8ebb6a1073d9962a.zip
Diffstat (limited to 'src/WorldStorage/WorldStorage.h')
-rw-r--r--src/WorldStorage/WorldStorage.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/WorldStorage/WorldStorage.h b/src/WorldStorage/WorldStorage.h
index 5d8aa4589..dd07ecb64 100644
--- a/src/WorldStorage/WorldStorage.h
+++ b/src/WorldStorage/WorldStorage.h
@@ -95,9 +95,11 @@ protected:
bool operator ==(const sChunkLoad other) const
{
- return this->m_ChunkX == other.m_ChunkX &&
- this->m_ChunkY == other.m_ChunkY &&
- this->m_ChunkZ == other.m_ChunkZ;
+ return (
+ (this->m_ChunkX == other.m_ChunkX) &&
+ (this->m_ChunkY == other.m_ChunkY) &&
+ (this->m_ChunkZ == other.m_ChunkZ)
+ );
}
} ;