1
0

Fixed snow again, this time for real.

I didn't realize the client would also try to replace the snow from the sides.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@612 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
cedeel@gmail.com 2012-06-14 20:43:23 +00:00
parent 7450e573c3
commit 6f70fb2845

View File

@ -1051,9 +1051,24 @@ void cClientHandle::HandleBlockPlace(cPacket_BlockPlace * a_Packet)
if (ClickedBlock == E_BLOCK_SNOW)
{
if (a_Packet->m_Direction == 1)
switch (a_Packet->m_Direction)
{
a_Packet->m_PosY--;
case 1:
a_Packet->m_PosY--;
break;
case 2:
a_Packet->m_PosZ++;
break;
case 3:
a_Packet->m_PosZ--;
break;
case 4:
a_Packet->m_PosX++;
break;
case 5:
a_Packet->m_PosX--;
break;
default: break;
}
bIgnoreCollision = true;
}