mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 21:01:04 +00:00
Merge branch 'public-winsnd-libgme-fix' into 'master'
Missed #ifdef HAVE_LIBGME in win_snd See merge request STJr/SRB2!326
This commit is contained in:
commit
0625ffcf8a
1 changed files with 6 additions and 1 deletions
|
@ -551,7 +551,12 @@ boolean I_LoadSong(char *data, size_t len)
|
||||||
FMOD_TAG tag;
|
FMOD_TAG tag;
|
||||||
unsigned int loopstart, loopend;
|
unsigned int loopstart, loopend;
|
||||||
|
|
||||||
if (gme || music_stream)
|
if (
|
||||||
|
#ifdef HAVE_LIBGME
|
||||||
|
gme ||
|
||||||
|
#endif
|
||||||
|
music_stream
|
||||||
|
)
|
||||||
I_UnloadSong();
|
I_UnloadSong();
|
||||||
|
|
||||||
memset(&fmt, 0, sizeof(FMOD_CREATESOUNDEXINFO));
|
memset(&fmt, 0, sizeof(FMOD_CREATESOUNDEXINFO));
|
||||||
|
|
Loading…
Reference in a new issue