summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-04-02 21:26:45 +0200
committerMattes D <github@xoft.cz>2014-04-02 21:26:45 +0200
commite7b8e17746de3b03f16e572bd4f4cd239bcd126a (patch)
tree868c65755c11c2cb8c46968529a57071a69f8eb7 /src/ClientHandle.cpp
parentFixed boat placement code. (diff)
parentWith eXtra line! (diff)
downloadcuberite-e7b8e17746de3b03f16e572bd4f4cd239bcd126a.tar
cuberite-e7b8e17746de3b03f16e572bd4f4cd239bcd126a.tar.gz
cuberite-e7b8e17746de3b03f16e572bd4f4cd239bcd126a.tar.bz2
cuberite-e7b8e17746de3b03f16e572bd4f4cd239bcd126a.tar.lz
cuberite-e7b8e17746de3b03f16e572bd4f4cd239bcd126a.tar.xz
cuberite-e7b8e17746de3b03f16e572bd4f4cd239bcd126a.tar.zst
cuberite-e7b8e17746de3b03f16e572bd4f4cd239bcd126a.zip
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r--src/ClientHandle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index 5ed5f1085..23ba4dbab 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -1064,7 +1064,7 @@ void cClientHandle::HandlePlaceBlock(int a_BlockX, int a_BlockY, int a_BlockZ, e
// If clicked top face and slab occupies the top voxel, we want a slab to be placed above it (therefore increment Y)
// Else if clicked bottom face and slab occupies the bottom voxel, decrement Y for the same reason
// Don't touch coordinates if anything else because a dblslab opportunity is present
- if((ClickedBlockMeta & 0x08) && (a_BlockFace == BLOCK_FACE_TOP))
+ if ((ClickedBlockMeta & 0x08) && (a_BlockFace == BLOCK_FACE_TOP))
{
++a_BlockY;
}