if(sf & 16)\r
self.armorvalue = ReadByte() * 10;\r
if(sf & 32)\r
- self.eaten = ReadByte();\r
+ self.predator = ReadByte();\r
\r
entcs_receiver[self.sv_entnum] = self;\r
self.entremove = Ent_RemoveEntCS;\r
if(ent.sv_entnum == player_localentnum && !cvar("chase_active"))
return;
- if(ent.eaten) // don't show names for prey
+ if(ent.predator) // don't show names for prey
return;
if(ent.sameteam || (!ent.sameteam && cvar("hud_shownames_enemies")))
e.healthvalue = entcs.healthvalue;
e.armorvalue = entcs.armorvalue;
e.sameteam = 1; /* (teamplay && (t == myteam)); */
- e.eaten = entcs.eaten;
+ e.predator = entcs.predator;
}
else
{
e.healthvalue = 2342;
e.armorvalue = 0;
e.sameteam = 0;
- e.eaten = 0;
+ e.predator = 0;
}
e.origin = getplayerorigin(i);
.float healthvalue;
.float armorvalue;
-.float eaten;
+.float predator;
.float sameteam;
if(sf & 16)\r
WriteByte(MSG_ENTITY, self.armorvalue / 10); // FIXME use a better scale?\r
if(sf & 32)\r
- WriteByte(MSG_ENTITY, self.stat_eaten);\r
+ WriteByte(MSG_ENTITY, num_for_edict(self.predator));\r
return TRUE;\r
};\r
\r
self.armorvalue = o.armorvalue;\r
self.SendFlags |= 16;\r
}\r
- if(o.stat_eaten != self.stat_eaten)\r
+ if(o.predator != self.predator)\r
{\r
- self.stat_eaten = o.stat_eaten;\r
+ self.predator = o.predator;\r
self.SendFlags |= 32;\r
}\r
};\r