From: MirceaKitsune Date: Tue, 15 Nov 2011 21:13:16 +0000 (+0200) Subject: Some fixes to the power fail sound X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cc2178dac53926f964bbbcdc38497a447954c64a;p=voretournament%2Fvoretournament.git Some fixes to the power fail sound --- diff --git a/data/qcsrc/server/cl_client.qc b/data/qcsrc/server/cl_client.qc index 58814dac..2d4488d4 100644 --- a/data/qcsrc/server/cl_client.qc +++ b/data/qcsrc/server/cl_client.qc @@ -2482,7 +2482,7 @@ void PlayerPreThink (void) { if(!self.power_sounded) { - sound(self, CHAN_TRIGGER, "sound/misc/power_fail.ogg", VOL_BASE, ATTN_NONE); + sound(self, CHAN_TRIGGER, "misc/power_fail.ogg", VOL_BASE, ATTN_NORM); self.power_sounded = TRUE; } } diff --git a/data/qcsrc/server/miscfunctions.qc b/data/qcsrc/server/miscfunctions.qc index d8c72f49..9f4c0c8f 100644 --- a/data/qcsrc/server/miscfunctions.qc +++ b/data/qcsrc/server/miscfunctions.qc @@ -1422,6 +1422,7 @@ void precache() precache_sound ("player/digest.wav"); precache_sound ("misc/health_regen.wav"); precache_sound ("misc/armor_regen.wav"); + precache_sound ("misc/power_fail.wav"); if (g_jetpack) precache_sound ("misc/jetpack_fly.wav");