1
0
Fork 0

Added missing dig status.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1141 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
luksor111@gmail.com 2013-01-13 12:59:48 +00:00
parent 752057fb1b
commit a10239c415
2 changed files with 7 additions and 0 deletions

View File

@ -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");

View File

@ -39,6 +39,7 @@ enum
enum
{
DIG_STATUS_STARTED = 0,
DIG_STATUS_CANCELLED = 1,
DIG_STATUS_FINISHED = 2,
DIG_STATUS_DROP_HELD = 4,
DIG_STATUS_SHOOT_EAT = 5,