From: MirceaKitsune Date: Sat, 3 Mar 2012 23:27:33 +0000 (+0200) Subject: Properly precache macro walking sounds X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c022c2554963d05a0b60e105a47a41ce8e7258c1;p=voretournament%2Fvoretournament.git Properly precache macro walking sounds --- diff --git a/data/qcsrc/server/miscfunctions.qc b/data/qcsrc/server/miscfunctions.qc index 17e98678..0d3837ee 100644 --- a/data/qcsrc/server/miscfunctions.qc +++ b/data/qcsrc/server/miscfunctions.qc @@ -1405,8 +1405,8 @@ void precache() { PrecacheGlobalSound((globalsound_step = "misc/footstep0 6")); PrecacheGlobalSound((globalsound_metalstep = "misc/metalfootstep0 6")); - - precache_sound("misc/macro_footstep.wav"); + if(cvar("g_healthsize")) + precache_sound("misc/macro_footstep.wav"); } // gore and miscellaneous sounds @@ -1427,6 +1427,8 @@ void precache() precache_sound ("misc/beep.wav"); PrecacheGlobalSound((globalsound_fall = "misc/hitground 4")); PrecacheGlobalSound((globalsound_metalfall = "misc/metalhitground 4")); + if(cvar("g_healthsize")) + precache_sound("misc/macro_hitground.wav"); precache_sound ("misc/null.wav"); precache_sound ("misc/spawn.wav"); precache_sound ("misc/talk.wav"); diff --git a/docs/TODO.txt b/docs/TODO.txt index f89bd569..815c730c 100644 --- a/docs/TODO.txt +++ b/docs/TODO.txt @@ -138,4 +138,4 @@ - 0.7 | 0.8: Make display digits red when ammo or load are too low -- 0.7: Precache macro hitground sound (make sure footstep one is precached too) \ No newline at end of file +- 0.7 | 0.8: The stomach gurgle sound duration does not match the pitch properly \ No newline at end of file