return FALSE;\r
if(other == o)\r
return FALSE;\r
+ if(o.stat_eaten)\r
+ return FALSE;\r
return TRUE;\r
}\r
\r
if(sf & 4)\r
WriteByte(MSG_ENTITY, self.angles_y * 256.0 / 360);\r
if(sf & 8)\r
- WriteByte(MSG_ENTITY, self.health / 10); // FIXME use a better scale?\r
+ WriteShort(MSG_ENTITY, self.health);\r
if(sf & 16)\r
- WriteByte(MSG_ENTITY, self.armorvalue / 10); // FIXME use a better scale?\r
- if(sf & 32)\r
- WriteByte(MSG_ENTITY, num_for_edict(self.predator));\r
+ WriteShort(MSG_ENTITY, self.armorvalue);\r
return TRUE;\r
};\r
\r
self.armorvalue = o.armorvalue;\r
self.SendFlags |= 16;\r
}\r
- if(o.predator != self.predator)\r
- {\r
- self.predator = o.predator;\r
- self.SendFlags |= 32;\r
- }\r
};\r
\r
entity attach_entcs()\r