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:
1 parent
5f22b7d973
commit
d94f7e3cb0
1 file changed
+5
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user