1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2025-01-09 10:29:45 +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 6f499abef0
commit 74b7ce9d80

View file

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