I_SongPlaying detect GME properly

This commit is contained in:
mazmazz 2018-08-24 18:00:18 -04:00
parent 95c41dd822
commit 350dbf639c

View file

@ -634,7 +634,12 @@ musictype_t I_SongType(void)
boolean I_SongPlaying(void)
{
return (boolean)music;
return (
#ifdef HAVE_LIBGME
(I_SongType() == MU_GME && gme) ||
#endif
(boolean)music
);
}
boolean I_SongPaused(void)