self.angles_x = self.angles_z = 0;\r
}\r
if(sf & 8)\r
- self.healthvalue = ReadCoord();\r
+ self.healthvalue = ReadShort();\r
if(sf & 16)\r
- self.armorvalue = ReadCoord();\r
+ self.armorvalue = ReadShort();\r
if(sf & 32)\r
self.predator = ReadByte();\r
\r
if(sf & 4)\r
WriteByte(MSG_ENTITY, self.angles_y * 256.0 / 360);\r
if(sf & 8)\r
- WriteCoord(MSG_ENTITY, self.health);\r
+ WriteShort(MSG_ENTITY, self.health);\r
if(sf & 16)\r
- WriteCoord(MSG_ENTITY, self.armorvalue);\r
+ WriteShort(MSG_ENTITY, self.armorvalue);\r
if(sf & 32)\r
WriteByte(MSG_ENTITY, num_for_edict(self.predator));\r
return TRUE;\r