summaryrefslogtreecommitdiffstats
path: root/source/cClientHandle.cpp
diff options
context:
space:
mode:
authormtilden@gmail.com <mtilden@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-29 14:16:23 +0100
committermtilden@gmail.com <mtilden@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-29 14:16:23 +0100
commitc4f4ae5c7122c58af239a01328c168627ed68e27 (patch)
treea14c16b0e2b270caa465892a0d2a60adf2e3d78e /source/cClientHandle.cpp
parent- Pickups should now burn in fire (diff)
downloadcuberite-c4f4ae5c7122c58af239a01328c168627ed68e27.tar
cuberite-c4f4ae5c7122c58af239a01328c168627ed68e27.tar.gz
cuberite-c4f4ae5c7122c58af239a01328c168627ed68e27.tar.bz2
cuberite-c4f4ae5c7122c58af239a01328c168627ed68e27.tar.lz
cuberite-c4f4ae5c7122c58af239a01328c168627ed68e27.tar.xz
cuberite-c4f4ae5c7122c58af239a01328c168627ed68e27.tar.zst
cuberite-c4f4ae5c7122c58af239a01328c168627ed68e27.zip
Diffstat (limited to 'source/cClientHandle.cpp')
-rw-r--r--source/cClientHandle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cClientHandle.cpp b/source/cClientHandle.cpp
index 22adc2207..920963c28 100644
--- a/source/cClientHandle.cpp
+++ b/source/cClientHandle.cpp
@@ -629,7 +629,7 @@ void cClientHandle::HandlePacket( cPacket* a_Packet )
if(PossibleBlock == E_BLOCK_FIRE)
{
PacketData->m_PosX = pX;
- PacketData->m_PosY = pY;
+ PacketData->m_PosY = (char)pY;
PacketData->m_PosZ = pZ;
bBroken = true;
}