#endif\r
\r
// now change the predator's player model into a stomach model for the prey\r
- // in other words, when a player is swallowed by another player, the eater becomes an inward stomach model so the prey can see theirself in the stomach\r
+ // in other words, when a player is swallowed by another player, the predator becomes an inward stomach model so the prey can see theirself in the stomach\r
// this is only visible to the prey however, otherwise players would appear as a floating stomach to everyone (ewww)\r
\r
// don't do this if we have chase_active enabled, as we'd be seeing a floating stomach from third person view\r
if(other.cvar_chase_active > 0 || other.classname == "observer") // the classname check prevents a bug\r
{\r
Client_setmodel(setmodel_state());\r
- if not(self.eater.classname == "player")\r
+ if not(self.predator.classname == "player")\r
self.alpha = default_player_alpha;\r
return TRUE;\r
}\r
if(other.spectatee_status)\r
other = other.enemy; // also do this for the player we are spectating\r
- if(other.eater == self)\r
+ if(other.predator == self)\r
{\r
tokenizebyseparator(self.playermodel, ".");\r
Client_setmodel(strcat(argv(0), "_stomach.md3"));\r
return TRUE;\r
}\r
Client_setmodel(setmodel_state());\r
- if not(self.eater.classname == "player")\r
+ if not(self.predator.classname == "player")\r
self.alpha = default_player_alpha;\r
return TRUE;\r
}\r
remove(self);\r
return;\r
}\r
- if ((self.owner.BUTTON_CHAT && !self.owner.deadflag && self.owner.eater.classname != "player")\r
+ if ((self.owner.BUTTON_CHAT && !self.owner.deadflag && self.owner.predator.classname != "player")\r
#ifdef TETRIS\r
|| self.owner.tetris_on\r
#endif\r
return;\r
}\r
// setorigin(self, self.owner.origin + '0 0 15' + self.owner.maxs_z * '0 0 1'); // bandwidth hog. setattachment does this now\r
- if (self.owner.BUTTON_CHAT || self.owner.deadflag || self.owner.killindicator || self.owner.eater.classname == "player")\r
+ if (self.owner.BUTTON_CHAT || self.owner.deadflag || self.owner.killindicator || self.owner.predator.classname == "player")\r
self.model = "";\r
else\r
{\r