mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'music-cleanup' into music-sdlmixerx
This commit is contained in:
commit
134387b249
1 changed files with 5 additions and 1 deletions
|
|
@ -633,7 +633,11 @@ boolean I_LoadSong(char *data, size_t len)
|
||||||
const size_t key3len = strlen(key3);
|
const size_t key3len = strlen(key3);
|
||||||
char *p = data;
|
char *p = data;
|
||||||
|
|
||||||
if (music || gme)
|
if (music
|
||||||
|
#ifdef HAVE_LIBGME
|
||||||
|
|| gme
|
||||||
|
#endif
|
||||||
|
)
|
||||||
I_UnloadSong();
|
I_UnloadSong();
|
||||||
|
|
||||||
#ifdef HAVE_LIBGME
|
#ifdef HAVE_LIBGME
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue