summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-06-17 13:44:07 +0200
committerHowaner <franzi.moos@googlemail.com>2014-06-17 13:44:07 +0200
commit7e985f3c7d0a301fafdef01e31553e7215c72e5b (patch)
tree467cb27174f986ac386671ac7451342ae9255e55 /src/ClientHandle.cpp
parentAdd comment. (diff)
downloadcuberite-7e985f3c7d0a301fafdef01e31553e7215c72e5b.tar
cuberite-7e985f3c7d0a301fafdef01e31553e7215c72e5b.tar.gz
cuberite-7e985f3c7d0a301fafdef01e31553e7215c72e5b.tar.bz2
cuberite-7e985f3c7d0a301fafdef01e31553e7215c72e5b.tar.lz
cuberite-7e985f3c7d0a301fafdef01e31553e7215c72e5b.tar.xz
cuberite-7e985f3c7d0a301fafdef01e31553e7215c72e5b.tar.zst
cuberite-7e985f3c7d0a301fafdef01e31553e7215c72e5b.zip
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r--src/ClientHandle.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index 683ee418c..664bcf875 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -955,6 +955,8 @@ void cClientHandle::HandleBlockDigStarted(int a_BlockX, int a_BlockY, int a_Bloc
m_LastDigBlockZ = a_BlockZ;
// Check for clickthrough-blocks:
+ /* When the user breaks a fire block, the client send the wrong block location.
+ We must find the right block with the face direction. */
if (a_BlockFace != BLOCK_FACE_NONE)
{
int pX = a_BlockX;