Don't decrement fade timer if song is paused

This commit is contained in:
mazmazz 2018-09-11 11:19:34 -04:00
parent 5ea8dc3dfa
commit 5f87f4a47a

View file

@ -537,6 +537,8 @@ static UINT32 music_fade(UINT32 interval, void *param)
do_fading_callback();
return 0;
}
else if (songpaused) // don't decrement timer
return interval;
else if ((fading_timer -= 10) <= 0)
{
internal_volume = fading_target;