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 8493d0bfcc
commit 5e48d50178

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)