]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't create 2 more sound entities to play the very same sound file
authorterencehill <piuntn@gmail.com>
Sun, 11 Aug 2019 13:57:12 +0000 (15:57 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 11 Aug 2019 13:57:12 +0000 (15:57 +0200)
qcsrc/common/sounds/all.inc

index 29f2946b059d7d4c65c9f2c9cf1e8cef3da52753..a63af0f43edf39d5f9819ee378486f78049005f0 100644 (file)
@@ -198,7 +198,8 @@ SOUND(ONS_CONTROLPOINT_BUILT, "onslaught/controlpoint_built");
 SOUND(ONS_CONTROLPOINT_UNDERATTACK, "onslaught/controlpoint_underattack");
 SOUND(ONS_DAMAGEBLOCKEDBYSHIELD, "onslaught/damageblockedbyshield");
 SOUND(ONS_ELECTRICITY_EXPLODE, "onslaught/electricity_explode");
-SOUND(ONS_GENERATOR_ALARM, "kh/alarm"); // FIXME: unique sound
+#define SND_ONS_GENERATOR_ALARM SND_KH_ALARM
+//SOUND(ONS_GENERATOR_ALARM, "kh/alarm"); // FIXME: unique sound
 SOUND(ONS_GENERATOR_DECAY, "onslaught/generator_decay");
 SOUND(ONS_GENERATOR_UNDERATTACK, "onslaught/generator_underattack");
 SOUND(ONS_HIT1, "onslaught/ons_hit1");
@@ -237,7 +238,8 @@ SOUND(VEH_SPIDERBOT_STRAFE, "vehicles/spiderbot_strafe");
 SOUND(VEH_SPIDERBOT_WALK, "vehicles/spiderbot_walk");
 
 SOUND(NADE_BEEP, "overkill/grenadebip");
-SOUND(NADE_BONUS, "kh/alarm"); // FIXME: unique sound
+#define SND_NADE_BONUS SND_KH_ALARM
+//SOUND(NADE_BONUS, "kh/alarm"); // FIXME: unique sound
 
 SOUND(BUFF_LOST, "relics/relic_effect");