mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +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
07cfc1a29a
commit
c05be4e0b5
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)
|
void I_UnloadSong(void)
|
||||||
{
|
{
|
||||||
Mix_FreeMusic(music);
|
// \todo unhook looper
|
||||||
music = NULL;
|
//var_cleanup();
|
||||||
|
//Mix_FreeMusic(music);
|
||||||
|
//music = NULL;
|
||||||
|
I_StopSong();
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean I_PlaySong(boolean looping)
|
boolean I_PlaySong(boolean looping)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue