]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/target_music.qc
Merge branch 'terencehill/vehicle_hud_fix' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / target_music.qc
index a806d40bb749a5865a70de63744350355bffc463..681a4ca6d194bb1586447743c4ef8f70b8e48d01 100644 (file)
@@ -1,3 +1,6 @@
+#include "_all.qh"
+
+.float volume;
 .float lifetime;
 // values:
 //   volume
@@ -65,7 +68,7 @@ void TargetMusic_RestoreGame()
 // spawnflags:
 //   1 = START_OFF
 // when triggered, it is disabled/enabled for everyone
-float trigger_music_SendEntity(entity to, float sf)
+float trigger_music_SendEntity(entity to, int sf)
 {
        WriteByte(MSG_ENTITY, ENT_CLIENT_TRIGGER_MUSIC);
        sf &= ~0x80;