Add more documentation.
This commit is contained in:
parent
da88c98034
commit
7e985f3c7d
@ -955,6 +955,8 @@ void cClientHandle::HandleBlockDigStarted(int a_BlockX, int a_BlockY, int a_Bloc
|
|||||||
m_LastDigBlockZ = a_BlockZ;
|
m_LastDigBlockZ = a_BlockZ;
|
||||||
|
|
||||||
// Check for clickthrough-blocks:
|
// 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)
|
if (a_BlockFace != BLOCK_FACE_NONE)
|
||||||
{
|
{
|
||||||
int pX = a_BlockX;
|
int pX = a_BlockX;
|
||||||
|
Loading…
Reference in New Issue
Block a user