Stub I_UnloadSong because we already unload in I_StopMusic

* Stop-gap for now. Ideally the logic would be in the respective places.

# Conflicts:
#	src/sdl/mixer_sound.c

(cherry picked from commit eae5d3333f5001512c82f22f2b1433a955b3a6c3)
This commit is contained in:
mazmazz 2018-08-24 18:02:46 -04:00
parent 5f22b7d973
commit d94f7e3cb0

View file

@ -705,8 +705,11 @@ boolean I_LoadSong(char *data, size_t len)
void I_UnloadSong(void)
{
Mix_FreeMusic(music);
music = NULL;
// \todo unhook looper
//var_cleanup();
//Mix_FreeMusic(music);
//music = NULL;
I_StopSong();
}
boolean I_PlaySong(boolean looping)