diff options
| -rw-r--r-- | sys/src/games/doom/i_sound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/games/doom/i_sound.c b/sys/src/games/doom/i_sound.c index ed2f5c856..1eae90838 100644 --- a/sys/src/games/doom/i_sound.c +++ b/sys/src/games/doom/i_sound.c @@ -450,7 +450,7 @@ void I_PlaySong(musicinfo_t *m, int loop) char name[64]; int n; - if(M_CheckParm("-nomusic")) + if(M_CheckParm("-nomusic") || audio_fd < 0) return; I_ShutdownMusic(); if(pipe(mpfd) < 0) |
