Stub I_UnloadSong because we already unload in I_StopMusic

* Stop-gap for now. Ideally the logic would be in the respective places.
This commit is contained in:
mazmazz 2018-08-24 17:54:42 -04:00
parent a688de5dc2
commit bd01c75a4e

View file

@ -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)