mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Set currentsong to -1 when halting music
This is 2.2 behavior, which I forgot to keep. Otherwise, if music has halted and you try to play the same track, it simply won't work, because the current song is the same as the song you're trying to play. This is what happened with the trinket scripts - the game halted music, then tried to play the same track. Fixes #712.
This commit is contained in:
@@ -268,6 +268,7 @@ void musicclass::haltdasmusik(void)
|
||||
{
|
||||
/* Just pauses music. This is intended. */
|
||||
pause();
|
||||
currentsong = -1;
|
||||
}
|
||||
|
||||
void musicclass::silencedasmusik(void)
|
||||
|
||||
Reference in New Issue
Block a user