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
6f499abef0
commit
74b7ce9d80
|
@ -310,6 +310,8 @@ void musicclass::haltdasmusik(void)
|
|||
void musicclass::silencedasmusik(void)
|
||||
{
|
||||
musicVolume = 0;
|
||||
m_doFadeInVol = false;
|
||||
m_doFadeOutVol = false;
|
||||
}
|
||||
|
||||
struct FadeState
|
||||
|
|
Loading…
Reference in New Issue