eater -> predator, because that's a more correct word
[voretournament/voretournament.git] / data / qcsrc / server / cl_client.qc
index c369b3ef356f3a1633fa1509787dec14b94b8b11..6e425a67e6a67b86e78cdb6374e4fa5c36e36043 100644 (file)
@@ -510,20 +510,20 @@ float Client_customizeentityforclient()
 #endif\r
 \r
        // now change the predator's player model into a stomach model for the prey\r
 #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
        // 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
                        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
        {\r
                tokenizebyseparator(self.playermodel, ".");\r
                Client_setmodel(strcat(argv(0), "_stomach.md3"));\r
@@ -531,7 +531,7 @@ float Client_customizeentityforclient()
                return TRUE;\r
        }\r
        Client_setmodel(setmodel_state());\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
                self.alpha = default_player_alpha;\r
        return TRUE;\r
 }\r
@@ -1594,7 +1594,7 @@ void ChatBubbleThink()
                remove(self);\r
                return;\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
 #ifdef TETRIS\r
                || self.owner.tetris_on\r
 #endif\r
@@ -1637,7 +1637,7 @@ void TeamBubbleThink()
                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
                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
                self.model = "";\r
        else\r
        {\r