From: MirceaKitsune Date: Sun, 5 Sep 2010 15:14:10 +0000 (+0300) Subject: Players who are inside a stomach cannot gib / bleed outside of it X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0218f4cb75b3a34f44c1097cca8603cd10cfced9;p=voretournament%2Fvoretournament.git Players who are inside a stomach cannot gib / bleed outside of it --- diff --git a/data/qcsrc/server/g_violence.qc b/data/qcsrc/server/g_violence.qc index 64ab4ea2..a6c6d8b0 100644 --- a/data/qcsrc/server/g_violence.qc +++ b/data/qcsrc/server/g_violence.qc @@ -13,6 +13,9 @@ float Violence_GibSplash_SendEntity(entity to, float sf) // TODO maybe convert this to a TE? void Violence_GibSplash_At(vector org, vector dir, float type, float amount, entity gibowner, entity attacker) { + if(gibowner.eater.classname == "player") + return; // you can't bleed or gib outside of the stomach + entity e; e = spawn();