summaryrefslogtreecommitdiffstats
path: root/source/Chunk.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-28 20:54:56 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-28 20:54:56 +0200
commit5c6164b55ae0a2788c6f928d119afd4a490a7d83 (patch)
tree925a2c80f3a2a6db1e7eea4554f01532d2bfab93 /source/Chunk.cpp
parentcEntity: Added mass to entities. (diff)
downloadcuberite-5c6164b55ae0a2788c6f928d119afd4a490a7d83.tar
cuberite-5c6164b55ae0a2788c6f928d119afd4a490a7d83.tar.gz
cuberite-5c6164b55ae0a2788c6f928d119afd4a490a7d83.tar.bz2
cuberite-5c6164b55ae0a2788c6f928d119afd4a490a7d83.tar.lz
cuberite-5c6164b55ae0a2788c6f928d119afd4a490a7d83.tar.xz
cuberite-5c6164b55ae0a2788c6f928d119afd4a490a7d83.tar.zst
cuberite-5c6164b55ae0a2788c6f928d119afd4a490a7d83.zip
Diffstat (limited to 'source/Chunk.cpp')
-rw-r--r--source/Chunk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Chunk.cpp b/source/Chunk.cpp
index 83a07d56d..723170bbf 100644
--- a/source/Chunk.cpp
+++ b/source/Chunk.cpp
@@ -1419,7 +1419,7 @@ void cChunk::FastSetBlock(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE a_BlockT
// The client doesn't need to distinguish between stationary and nonstationary fluids:
if (
- (OldBlockMeta == a_BlockMeta) || // Different meta always gets sent to the client
+ (OldBlockMeta != a_BlockMeta) || // Different meta always gets sent to the client
!(
((OldBlockType == E_BLOCK_STATIONARY_WATER) && (a_BlockType == E_BLOCK_WATER)) || // Replacing stationary water with water
((OldBlockType == E_BLOCK_WATER) && (a_BlockType == E_BLOCK_STATIONARY_WATER)) || // Replacing water with stationary water