summaryrefslogtreecommitdiff
path: root/src/i_sound.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i_sound.c')
-rw-r--r--src/i_sound.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i_sound.c b/src/i_sound.c
index 5bc9d109..165be416 100644
--- a/src/i_sound.c
+++ b/src/i_sound.c
@@ -462,8 +462,9 @@ I_InitSound()
// If music or sound is going to play, we need to at least
// initialise SDL
+ // No sound in screensaver mode.
- if (nomusicparm && nosfxparm)
+ if (screensaver_mode || (nomusicparm && nosfxparm))
return;
if (SDL_Init(SDL_INIT_AUDIO) < 0)