]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Some fixes to the power fail sound
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 15 Nov 2011 21:13:16 +0000 (23:13 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 15 Nov 2011 21:13:16 +0000 (23:13 +0200)
data/qcsrc/server/cl_client.qc
data/qcsrc/server/miscfunctions.qc

index 58814dacf104edadae611f9432f5d4e66b13ea38..2d4488d4a0f2408f2664280e2e3a4216ed06fb5d 100644 (file)
@@ -2482,7 +2482,7 @@ void PlayerPreThink (void)
        {\r
                if(!self.power_sounded)\r
                {\r
-                       sound(self, CHAN_TRIGGER, "sound/misc/power_fail.ogg", VOL_BASE, ATTN_NONE);\r
+                       sound(self, CHAN_TRIGGER, "misc/power_fail.ogg", VOL_BASE, ATTN_NORM);\r
                        self.power_sounded = TRUE;\r
                }\r
        }\r
index d8c72f49cb03da9f54469147ba68ac5063bbcca4..9f4c0c8fb86a260c7a4cb05d59e6c806792dfc68 100644 (file)
@@ -1422,6 +1422,7 @@ void precache()
     precache_sound ("player/digest.wav");\r
        precache_sound ("misc/health_regen.wav");\r
        precache_sound ("misc/armor_regen.wav");\r
+       precache_sound ("misc/power_fail.wav");\r
 \r
     if (g_jetpack)\r
         precache_sound ("misc/jetpack_fly.wav");\r