]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/g_violence.qc
Net: purge SELFPARAM from sendfuncs
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_violence.qc
index fdff4a66f369bf8c9e8cf45709e146395ad0f2d7..2a885f901ab2f0b7100326430fa6963ea31c6855 100644 (file)
@@ -1,6 +1,7 @@
 #include "g_violence.qh"
+#include "_all.qh"
 
-float Violence_GibSplash_SendEntity(entity to, float sf)
+bool Violence_GibSplash_SendEntity(entity this, entity to, int sf)
 {
        WriteByte(MSG_ENTITY, ENT_CLIENT_GIBSPLASH);
        WriteByte(MSG_ENTITY, self.state); // actually type
@@ -14,7 +15,7 @@ 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)
-{
+{SELFPARAM();
        if(g_cts) // no gibs in CTS
                return;