]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/g_violence.qc
eater -> predator, because that's a more correct word
[voretournament/voretournament.git] / data / qcsrc / server / g_violence.qc
index a6c6d8b03644cd6990708a5426647070fa2d64f7..7bc550dcc54a428f292ffcd252aa75f315050d88 100644 (file)
@@ -13,7 +13,7 @@ float Violence_GibSplash_SendEntity(entity to, float sf)
 // TODO maybe convert this to a TE?\r
 void Violence_GibSplash_At(vector org, vector dir, float type, float amount, entity gibowner, entity attacker)\r
 {\r
 // TODO maybe convert this to a TE?\r
 void Violence_GibSplash_At(vector org, vector dir, float type, float amount, entity gibowner, entity attacker)\r
 {\r
-       if(gibowner.eater.classname == "player")\r
+       if(gibowner.predator.classname == "player")\r
                return; // you can't bleed or gib outside of the stomach\r
 \r
        entity e;\r
                return; // you can't bleed or gib outside of the stomach\r
 \r
        entity e;\r