mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-30 13:10:55 +00:00
Merge branch 'music-cleanup' into music-sdlmixerx
This commit is contained in:
commit
e695cf91fe
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);
|
||||
char *p = data;
|
||||
|
||||
if (music || gme)
|
||||
if (music
|
||||
#ifdef HAVE_LIBGME
|
||||
|| gme
|
||||
#endif
|
||||
)
|
||||
I_UnloadSong();
|
||||
|
||||
#ifdef HAVE_LIBGME
|
||||
|
|
Loading…
Reference in a new issue