]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Properly precache macro walking sounds
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 3 Mar 2012 23:27:33 +0000 (01:27 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 3 Mar 2012 23:27:33 +0000 (01:27 +0200)
data/qcsrc/server/miscfunctions.qc
docs/TODO.txt

index 17e98678653b8b4672e2dd27b0943747c1848689..0d3837ee490cba6a83996ba38c260a8f131ae3b3 100644 (file)
@@ -1405,8 +1405,8 @@ void precache()
     {\r
         PrecacheGlobalSound((globalsound_step = "misc/footstep0 6"));\r
         PrecacheGlobalSound((globalsound_metalstep = "misc/metalfootstep0 6"));\r
-\r
-        precache_sound("misc/macro_footstep.wav");\r
+               if(cvar("g_healthsize"))\r
+                       precache_sound("misc/macro_footstep.wav");\r
     }\r
 \r
     // gore and miscellaneous sounds\r
@@ -1427,6 +1427,8 @@ void precache()
        precache_sound ("misc/beep.wav");\r
     PrecacheGlobalSound((globalsound_fall = "misc/hitground 4"));\r
     PrecacheGlobalSound((globalsound_metalfall = "misc/metalhitground 4"));\r
+       if(cvar("g_healthsize"))\r
+               precache_sound("misc/macro_hitground.wav");\r
     precache_sound ("misc/null.wav");\r
     precache_sound ("misc/spawn.wav");\r
     precache_sound ("misc/talk.wav");\r
index f89bd569620aeeb60a33b60ae0ca5b9e97de97b0..815c730cdbb93b76942bd62901464735c949861a 100644 (file)
 \r
 - 0.7 | 0.8: Make display digits red when ammo or load are too low\r
 \r
-- 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