Check if GME_VERSION is defined.
I made the assumption it would always be defined, which won't always be the case.
This commit is contained in:
parent
0d1050f360
commit
c8627464c9
|
@ -1298,7 +1298,7 @@ boolean I_PlaySong(boolean looping)
|
||||||
if (gme)
|
if (gme)
|
||||||
{
|
{
|
||||||
gme_equalizer_t eq = {GME_TREBLE, GME_BASS, 0,0,0,0,0,0,0,0};
|
gme_equalizer_t eq = {GME_TREBLE, GME_BASS, 0,0,0,0,0,0,0,0};
|
||||||
#if GME_VERSION >= 0x000603
|
#if defined (GME_VERSION) && GME_VERSION >= 0x000603
|
||||||
if (looping)
|
if (looping)
|
||||||
gme_set_autoload_playback_limit(gme, 0);
|
gme_set_autoload_playback_limit(gme, 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue