summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/heretic/s_sound.c2
-rw-r--r--src/hexen/s_sound.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/heretic/s_sound.c b/src/heretic/s_sound.c
index e94f17a5..755206b4 100644
--- a/src/heretic/s_sound.c
+++ b/src/heretic/s_sound.c
@@ -532,6 +532,8 @@ void S_Init(void)
S_SetMaxVolume(true);
I_AtExit(S_ShutDown, true);
+
+ I_PrecacheSounds(S_sfx, NUMSFX);
}
void S_GetChannelInfo(SoundInfo_t * s)
diff --git a/src/hexen/s_sound.c b/src/hexen/s_sound.c
index 438d4679..45890300 100644
--- a/src/hexen/s_sound.c
+++ b/src/hexen/s_sound.c
@@ -737,6 +737,8 @@ void S_Init(void)
I_AtExit(S_ShutDown, true);
+ I_PrecacheSounds(S_sfx, NUMSFX);
+
#ifdef CDMUSIC
//TODO
// Attempt to setup CD music