]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/g_violence.qc
Merge branch 'TimePath/hudpanels_registry' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_violence.qc
index a9111a03bc7f3ef231b3e4445df5d32f4a9e0abc..2a885f901ab2f0b7100326430fa6963ea31c6855 100644 (file)
@@ -1,8 +1,8 @@
 #include "g_violence.qh"
 #include "_all.qh"
 
-float Violence_GibSplash_SendEntity(entity to, int sf)
-{SELFPARAM();
+bool Violence_GibSplash_SendEntity(entity this, entity to, int sf)
+{
        WriteByte(MSG_ENTITY, ENT_CLIENT_GIBSPLASH);
        WriteByte(MSG_ENTITY, self.state); // actually type
        WriteByte(MSG_ENTITY, bound(1, self.cnt * 16, 255)); // gibbage amount multiplier