mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-11-14 15:09:42 +01:00
Reset fade booleans when silencing music
This fixes a bug where the music would keep playing when a collection prompt appeared if the music was still fading in at that time.
This commit is contained in:
parent
3c6cb0167d
commit
2b9b4c39cb
1 changed files with 2 additions and 0 deletions
|
@ -281,6 +281,8 @@ void musicclass::haltdasmusik(void)
|
|||
void musicclass::silencedasmusik(void)
|
||||
{
|
||||
musicVolume = 0;
|
||||
m_doFadeInVol = false;
|
||||
m_doFadeOutVol = false;
|
||||
}
|
||||
|
||||
struct FadeState
|
||||
|
|
Loading…
Reference in a new issue