mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-15 01:01:43 +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 (cherry picked from commit eae5d3333f5001512c82f22f2b1433a955b3a6c3)
This commit is contained in:
parent
5f22b7d973
commit
d94f7e3cb0
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