Skip to content
Snippets Groups Projects
Commit c8627464 authored by SteelT's avatar SteelT
Browse files

Check if GME_VERSION is defined.

I made the assumption it would always be defined, which won't always be the case.
parent 0d1050f3
No related branches found
No related tags found
1 merge request!1372Check if GME_VERSION is defined.
......@@ -1298,7 +1298,7 @@ boolean I_PlaySong(boolean looping)
if (gme)
{
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)
gme_set_autoload_playback_limit(gme, 0);
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment