summaryrefslogtreecommitdiffstats
path: root/source/ClientHandle.cpp
diff options
context:
space:
mode:
authorluksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-01-13 13:59:48 +0100
committerluksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-01-13 13:59:48 +0100
commita10239c41559353358ffbd1839925b7a81440213 (patch)
treefeca4afeaff0659dec1f1a7943b59f52117498a1 /source/ClientHandle.cpp
parentForgotten files for previous merge commit (rev 1139) (diff)
downloadcuberite-a10239c41559353358ffbd1839925b7a81440213.tar
cuberite-a10239c41559353358ffbd1839925b7a81440213.tar.gz
cuberite-a10239c41559353358ffbd1839925b7a81440213.tar.bz2
cuberite-a10239c41559353358ffbd1839925b7a81440213.tar.lz
cuberite-a10239c41559353358ffbd1839925b7a81440213.tar.xz
cuberite-a10239c41559353358ffbd1839925b7a81440213.tar.zst
cuberite-a10239c41559353358ffbd1839925b7a81440213.zip
Diffstat (limited to 'source/ClientHandle.cpp')
-rw-r--r--source/ClientHandle.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/ClientHandle.cpp b/source/ClientHandle.cpp
index bae06713b..efe4f9c9f 100644
--- a/source/ClientHandle.cpp
+++ b/source/ClientHandle.cpp
@@ -575,6 +575,12 @@ void cClientHandle::HandleLeftClick(int a_BlockX, int a_BlockY, int a_BlockZ, ch
return;
}
+ case DIG_STATUS_CANCELLED:
+ {
+ // Block breaking cancelled by player
+ return;
+ }
+
default:
{
ASSERT(!"Unhandled DIG_STATUS");