1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-11-15 23:49:42 +01:00

Fix playing same track after it has faded out

If a track was restarted after it faded out, then it wouldn't play. This
is because currentsong wasn't set to -1 after fading out, and that is
because the fade out calls pause() instead of haltdasmusik() when it
finishes.

Unlike f196fcd896, this fixes the time
trial music while keeping it to the same behavior as 2.2, and fixes
every single possible case that this music bug could have happened.
This commit is contained in:
Misa 2021-04-14 09:34:01 -07:00 committed by Ethan Lee
parent 75133c74e7
commit be9a6382ea

View file

@ -330,7 +330,7 @@ void musicclass::processmusicfadeout(void)
{ {
musicVolume = 0; musicVolume = 0;
m_doFadeOutVol = false; m_doFadeOutVol = false;
pause(); haltdasmusik();
} }
} }