WriteByte(MSG_BROADCAST, SVC_TEMPENTITY);\r
WriteByte(MSG_BROADCAST, TE_CSQC_OTHERPLREPORT);\r
WriteByte(MSG_BROADCAST, self.cnt);\r
- if(e.eater.classname == "player") // tempt hackers less by only sending the info of eaten players\r
+ if(e.predator.classname == "player") // tempt hackers less by only sending the info of eaten players\r
{\r
if(cvar("g_vore_showpreyhealth"))\r
WriteByte(MSG_BROADCAST, e.health);\r
else\r
WriteByte(MSG_BROADCAST, 0);\r
- WriteByte(MSG_BROADCAST, num_for_edict(e.eater));\r
+ WriteByte(MSG_BROADCAST, num_for_edict(e.predator));\r
}\r
else\r
{\r
addstat(STAT_VORE_LOAD, AS_INT, stat_stomachload);\r
addstat(STAT_VORE_DIGESTING, AS_INT, stat_digesting);\r
addstat(STAT_VORE_EATEN, AS_INT, stat_eaten);\r
+ addstat(STAT_VORE_CANLEAVE, AS_INT, stat_canleave);\r
\r
next_pingtime = time + 5;\r
InitializeEntity(self, cvar_changes_init, INITPRIO_CVARS);\r