summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-03-31 21:34:11 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-03-31 21:34:11 +0200
commitee07b7ae3ec9cd283fe61aede067e7fc9e4bcb49 (patch)
tree835fdf7b91233a3a9be1e5030fe5221f5f34ff54 /src/ClientHandle.cpp
parentFixed a few Y too high/low asserts (diff)
downloadcuberite-ee07b7ae3ec9cd283fe61aede067e7fc9e4bcb49.tar
cuberite-ee07b7ae3ec9cd283fe61aede067e7fc9e4bcb49.tar.gz
cuberite-ee07b7ae3ec9cd283fe61aede067e7fc9e4bcb49.tar.bz2
cuberite-ee07b7ae3ec9cd283fe61aede067e7fc9e4bcb49.tar.lz
cuberite-ee07b7ae3ec9cd283fe61aede067e7fc9e4bcb49.tar.xz
cuberite-ee07b7ae3ec9cd283fe61aede067e7fc9e4bcb49.tar.zst
cuberite-ee07b7ae3ec9cd283fe61aede067e7fc9e4bcb49.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;
}