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:
parent
75133c74e7
commit
be9a6382ea
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ void musicclass::processmusicfadeout(void)
|
||||||
{
|
{
|
||||||
musicVolume = 0;
|
musicVolume = 0;
|
||||||
m_doFadeOutVol = false;
|
m_doFadeOutVol = false;
|
||||||
pause();
|
haltdasmusik();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue