From 74b7ce9d808bd271cb5f5423f406f635e3031976 Mon Sep 17 00:00:00 2001 From: Misa Date: Fri, 10 Sep 2021 17:02:24 -0700 Subject: [PATCH] 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. --- desktop_version/src/Music.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desktop_version/src/Music.cpp b/desktop_version/src/Music.cpp index 58bee2b2..5e968e3c 100644 --- a/desktop_version/src/Music.cpp +++ b/desktop_version/src/Music.cpp @@ -310,6 +310,8 @@ void musicclass::haltdasmusik(void) void musicclass::silencedasmusik(void) { musicVolume = 0; + m_doFadeInVol = false; + m_doFadeOutVol = false; } struct FadeState