From bd01c75a4e1818e0f885dbe1434bd07096670922 Mon Sep 17 00:00:00 2001 From: mazmazz Date: Fri, 24 Aug 2018 17:54:42 -0400 Subject: [PATCH] Stub I_UnloadSong because we already unload in I_StopMusic * Stop-gap for now. Ideally the logic would be in the respective places. --- src/sdl/mixer_sound.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/sdl/mixer_sound.c b/src/sdl/mixer_sound.c index 01ea460dc..6e385c62a 100644 --- a/src/sdl/mixer_sound.c +++ b/src/sdl/mixer_sound.c @@ -1088,10 +1088,10 @@ boolean I_LoadSong(char *data, size_t len) void I_UnloadSong(void) { // \todo unhook looper - - var_cleanup(); - Mix_FreeMusic(music); - music = NULL; + //var_cleanup(); + //Mix_FreeMusic(music); + //music = NULL; + I_StopSong(); } boolean I_PlaySong(boolean looping)