(cherry picked from commit fb6f8c8a07)
This commit is contained in:
mazmazz 2018-08-24 13:41:26 -04:00
parent b0c47e2fb1
commit 2fbe206ecb

View file

@ -719,8 +719,9 @@ boolean I_PlaySong(boolean looping)
Mix_HookMusic(mix_gme, gme); Mix_HookMusic(mix_gme, gme);
return true; return true;
} }
else
#endif #endif
else if (!music) if (!music)
return false; return false;
if (Mix_PlayMusic(music, looping && loop_point == 0.0f ? -1 : 0) == -1) if (Mix_PlayMusic(music, looping && loop_point == 0.0f ? -1 : 0) == -1)