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
This commit is contained in:
mazmazz 2018-08-24 18:02:46 -04:00
parent d39b7011c5
commit eae5d3333f

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)