1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 10:09:43 +01:00

Fix wrong function being used for musicclass::play() check

Whoops.
This commit is contained in:
Misa 2021-01-16 10:09:16 -08:00 committed by Ethan Lee
parent 74740c5a21
commit f06701ff90

View file

@ -188,7 +188,7 @@ void musicclass::play(int t, const double position_sec /*= 0.0*/, const int fade
safeToProcessMusic = true;
musicVolume = MIX_MAX_VOLUME;
if (currentsong == t && Mix_PlayingMusic() != MIX_FADING_OUT)
if (currentsong == t && Mix_FadingMusic() != MIX_FADING_OUT)
{
return;
}