summaryrefslogtreecommitdiff
path: root/src/doom/s_sound.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/doom/s_sound.c')
-rw-r--r--src/doom/s_sound.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/doom/s_sound.c b/src/doom/s_sound.c
index e78f763a..19d76a6b 100644
--- a/src/doom/s_sound.c
+++ b/src/doom/s_sound.c
@@ -125,6 +125,8 @@ void S_Init(int sfxVolume, int musicVolume)
I_InitSound();
I_InitMusic();
+ I_PrecacheSounds(S_sfx, NUMSFX);
+
S_SetSfxVolume(sfxVolume);
S_SetMusicVolume(musicVolume);