summaryrefslogtreecommitdiffstats
path: root/source/cClientHandle.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;
}