mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-12 22:02:12 +00:00
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:
parent
d39b7011c5
commit
eae5d3333f
1 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue