eater -> predator, because that's a more correct word
[voretournament/voretournament.git] / data / qcsrc / server / g_violence.qc
index 64ab4ea271a2a23191c7894eb41150e0437608b4..7bc550dcc54a428f292ffcd252aa75f315050d88 100644 (file)
@@ -13,6 +13,9 @@ 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
+       if(gibowner.predator.classname == "player")\r
+               return; // you can't bleed or gib outside of the stomach\r
+\r
        entity e;\r
 \r
        e = spawn();\r