mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Mixer: Add back var_cleanup in I_LoadSong
Because musicplus-libopenmpt deleted it, I added a cautionary note to ALWAYS clean up your vars!
This commit is contained in:
parent
a3664c3083
commit
9d40bf57fe
1 changed files with 1 additions and 0 deletions
|
|
@ -885,6 +885,7 @@ boolean I_LoadSong(char *data, size_t len)
|
||||||
)
|
)
|
||||||
I_UnloadSong();
|
I_UnloadSong();
|
||||||
|
|
||||||
|
// always do this whether or not a music already exists
|
||||||
var_cleanup();
|
var_cleanup();
|
||||||
|
|
||||||
#ifdef HAVE_LIBGME
|
#ifdef HAVE_LIBGME
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue