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:
Monster Iestyn 2018-11-14 06:40:07 -05:00
commit 0625ffcf8a

View file

@ -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));