1
0
Fork 0
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:
Misa 2021-09-10 17:02:24 -07:00
parent 3c6cb0167d
commit 2b9b4c39cb

View file

@ -281,6 +281,8 @@ void musicclass::haltdasmusik(void)
void musicclass::silencedasmusik(void)
{
musicVolume = 0;
m_doFadeInVol = false;
m_doFadeOutVol = false;
}
struct FadeState