summaryrefslogtreecommitdiff
path: root/src/hexen/s_sound.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hexen/s_sound.c')
-rw-r--r--src/hexen/s_sound.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/hexen/s_sound.c b/src/hexen/s_sound.c
index a0f044e7..5588ec05 100644
--- a/src/hexen/s_sound.c
+++ b/src/hexen/s_sound.c
@@ -822,13 +822,9 @@ void S_SetMusicVolume(void)
void S_ShutDown(void)
{
- extern int tsm_ID;
- if (tsm_ID != -1)
- {
- I_StopSong();
- I_UnRegisterSong(RegisteredSong);
- I_ShutdownSound();
- }
+ I_StopSong();
+ I_UnRegisterSong(RegisteredSong);
+ I_ShutdownSound();
if (i_CDMusic)
{
I_CDMusStop();