eater -> predator, because that's a more correct word
[voretournament/voretournament.git] / data / qcsrc / server / g_grabber.qc
index df3591c7076079abea9c730e76be4fadd834e3e4..28b687e5a8a9a000ee90183dc9372998d7e1444a 100644 (file)
@@ -132,12 +132,12 @@ void GrabberThink()
                WarpZone_RefSys_AddIncrementally(self, self.aiment);\r
 \r
        // prevent the grabber from sticking to a player that has been swallowed\r
                WarpZone_RefSys_AddIncrementally(self, self.aiment);\r
 \r
        // prevent the grabber from sticking to a player that has been swallowed\r
-       if(self.aiment.eater.classname == "player")\r
+       if(self.aiment.predator.classname == "player")\r
        {\r
                // if the grabber is linked to a player that we swallowed, disconnect it (or the grabber will stick to us / the player inside us)\r
                // otherwise, link the grabber to the player who ate our linked player\r
        {\r
                // if the grabber is linked to a player that we swallowed, disconnect it (or the grabber will stick to us / the player inside us)\r
                // otherwise, link the grabber to the player who ate our linked player\r
-               if(self.aiment.eater != self.owner)\r
-                       SetMovetypeFollow(self, self.aiment.eater);\r
+               if(self.aiment.predator != self.owner)\r
+                       SetMovetypeFollow(self, self.aiment.predator);\r
                else\r
                        RemoveGrabber(self.owner);\r
        }\r
                else\r
                        RemoveGrabber(self.owner);\r
        }\r