return FALSE;\r
if(other == o)\r
return FALSE;\r
- if(other.classname == "player")\r
- if(!teamplay || o.team != other.team)\r
- if not (radar_showennemies)\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
+ WriteCoord(MSG_ENTITY, self.health);\r
if(sf & 16)\r
- WriteByte(MSG_ENTITY, self.armorvalue / 10); // FIXME use a better scale?\r
+ WriteCoord(MSG_ENTITY, self.armorvalue);\r
if(sf & 32)\r
WriteByte(MSG_ENTITY, num_for_edict(self.predator));\r
return TRUE;\r