diff options
author | luksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-01-13 13:59:48 +0100 |
---|---|---|
committer | luksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-01-13 13:59:48 +0100 |
commit | a10239c41559353358ffbd1839925b7a81440213 (patch) | |
tree | feca4afeaff0659dec1f1a7943b59f52117498a1 /source/ClientHandle.cpp | |
parent | Forgotten files for previous merge commit (rev 1139) (diff) | |
download | cuberite-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.cpp | 6 |
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"); |