summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2020-03-31 14:15:48 +0200
committerPaweł Redman <pawel.redman@gmail.com>2020-03-31 14:22:02 +0200
commit6e7cdc271d9283da9543bc23f73f460375f17b58 (patch)
treea734bf60a02b43cd1d40dff3ca47e0f4955e23b9 /src/cgame
parent023ee0eb8bcff377a7abc8333892ea6141ddd6f5 (diff)
Some new original sounds
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c
index 27b4ebd..4150632 100644
--- a/src/cgame/cg_main.c
+++ b/src/cgame/cg_main.c
@@ -2228,7 +2228,12 @@ sfxHandle_t trap_S_RegisterSound( const char *sample, qboolean compressed );
struct { char *to, *from; } replacements[ ] =
{
- { "sound/player/level0/taunt.wav", "models/weapons/rifle/flash0.wav" },
+ /* Clients cache sounds, so new files need to have different paths to get
+ a live reload to work properly. */
+ { "sound/player/human_base/death1_shitware.wav", "sound/player/human_base/death1.wav" },
+ { "sound/player/human_base/death2_shitware.wav", "sound/player/human_base/death2.wav" },
+ { "sound/player/human_base/death3_shitware.wav", "sound/player/human_base/death3.wav" },
+ { "sound/player/human_base/taunt_shitware.wav", "sound/player/human_base/taunt.wav" },
};
int num_replacements = sizeof( replacements ) / sizeof( replacements[ 0 ] );