From 732b7349faa4ee78fee8da151db47853143c48fd Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 10 Mar 2012 19:30:06 +0000 Subject: Fixed mob spawn packet for 1.2 client, now client doesn't bail out when mobs are turned on git-svn-id: http://mc-server.googlecode.com/svn/trunk@393 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/packets/cPacket_SpawnMob.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/packets/cPacket_SpawnMob.h') diff --git a/source/packets/cPacket_SpawnMob.h b/source/packets/cPacket_SpawnMob.h index 8a1ef2264..ff579af99 100644 --- a/source/packets/cPacket_SpawnMob.h +++ b/source/packets/cPacket_SpawnMob.h @@ -28,8 +28,7 @@ public: Vector3i* m_Pos; char m_Yaw; char m_Pitch; - - static const unsigned int c_Size = 1 + 4 + 1 + 4 + 4 + 4 + 1 + 1; // + metadata + char m_HeadYaw; unsigned int m_MetaDataSize; char * m_MetaData; -- cgit v1.2.3