diff options
Diffstat (limited to 'src/hexen/s_sound.c')
-rw-r--r-- | src/hexen/s_sound.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hexen/s_sound.c b/src/hexen/s_sound.c index 426302b9..954bf817 100644 --- a/src/hexen/s_sound.c +++ b/src/hexen/s_sound.c @@ -37,6 +37,8 @@ #define DEFAULT_ARCHIVEPATH "o:\\sound\\archive\\" +void S_ShutDown(void); + boolean i_CDMusic; int i_CDTrack; int i_CDCurrentTrack; @@ -734,6 +736,8 @@ void S_Init(void) } I_SetMusicVolume(snd_MusicVolume); + I_AtExit(S_ShutDown, true); + #ifdef CDMUSIC //TODO // Attempt to setup CD music |