1
0

Fixed Player animation packet.

Fixes #329.
This commit is contained in:
madmaxoft 2013-11-10 13:40:38 +01:00
parent 0762893ee1
commit 3fd7124435

View File

@ -490,7 +490,7 @@ void cProtocol172::SendPlayerAbilities(void)
void cProtocol172::SendPlayerAnimation(const cPlayer & a_Player, char a_Animation) void cProtocol172::SendPlayerAnimation(const cPlayer & a_Player, char a_Animation)
{ {
cPacketizer Pkt(*this, 0x0b); // Animation packet cPacketizer Pkt(*this, 0x0b); // Animation packet
Pkt.WriteInt(a_Player.GetUniqueID()); Pkt.WriteVarInt(a_Player.GetUniqueID());
Pkt.WriteChar(a_Animation); Pkt.WriteChar(a_Animation);
} }