From: terencehill Date: Sun, 11 Aug 2019 13:57:12 +0000 (+0200) Subject: Don't create 2 more sound entities to play the very same sound file X-Git-Tag: xonotic-v0.8.5~507^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a3d9768755c892c5f09680ff47339da38b926dba;p=xonotic%2Fxonotic-data.pk3dir.git Don't create 2 more sound entities to play the very same sound file --- diff --git a/qcsrc/common/sounds/all.inc b/qcsrc/common/sounds/all.inc index 29f2946b0..a63af0f43 100644 --- a/qcsrc/common/sounds/all.inc +++ b/qcsrc/common/sounds/all.inc @@ -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");