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
1 changed files with 1 additions and 1 deletions

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;
}