From cc2178dac53926f964bbbcdc38497a447954c64a Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Tue, 15 Nov 2011 23:13:16 +0200 Subject: [PATCH] Some fixes to the power fail sound --- data/qcsrc/server/cl_client.qc | 2 +- data/qcsrc/server/miscfunctions.qc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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"); -- 2.39.2