X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fg_violence.qc;h=2a885f901ab2f0b7100326430fa6963ea31c6855;hb=05375be95785001ea4228a59f830308501e59b5e;hp=5bc8aafd377202719e58dd38569a70afedb452c5;hpb=61a847dbaab291d205cc9684b6d1a6e9bdad6375;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/g_violence.qc b/qcsrc/server/g_violence.qc index 5bc8aafd3..2a885f901 100644 --- a/qcsrc/server/g_violence.qc +++ b/qcsrc/server/g_violence.qc @@ -1,7 +1,7 @@ #include "g_violence.qh" #include "_all.qh" -float Violence_GibSplash_SendEntity(entity to, int sf) +bool Violence_GibSplash_SendEntity(entity this, entity to, int sf) { WriteByte(MSG_ENTITY, ENT_CLIENT_GIBSPLASH); WriteByte(MSG_ENTITY, self.state); // actually type @@ -15,7 +15,7 @@ float Violence_GibSplash_SendEntity(entity to, int sf) // TODO maybe convert this to a TE? void Violence_GibSplash_At(vector org, vector dir, float type, float amount, entity gibowner, entity attacker) -{ +{SELFPARAM(); if(g_cts) // no gibs in CTS return;