Fixed issue with breaking blocks at -1 coordinates
This commit is contained in:
parent
61cb08b546
commit
5e66d9aeab
@ -1085,12 +1085,7 @@ void cClientHandle::HandleBlockDigFinished(int a_BlockX, int a_BlockY, int a_Blo
|
|||||||
|
|
||||||
void cClientHandle::FinishDigAnimation()
|
void cClientHandle::FinishDigAnimation()
|
||||||
{
|
{
|
||||||
if (
|
if (!m_HasStartedDigging) // Hasn't received the DIG_STARTED packet
|
||||||
!m_HasStartedDigging || // Hasn't received the DIG_STARTED packet
|
|
||||||
(m_LastDigBlockX == -1) ||
|
|
||||||
(m_LastDigBlockY == -1) ||
|
|
||||||
(m_LastDigBlockZ == -1)
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user