From 3047c0adfb2451310afb334ef255123cf84d44c0 Mon Sep 17 00:00:00 2001 From: Thad Ward Date: Thu, 25 Mar 2004 10:45:30 +0000 Subject: [PATCH] Apparently SM_GoToNextScreen doesn't also send an SM_LoseFocus, so we need to reset the sound volume there, too. --- stepmania/src/ScreenDemonstration.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/stepmania/src/ScreenDemonstration.cpp b/stepmania/src/ScreenDemonstration.cpp index fcb7d86c04..c4b1b55479 100644 --- a/stepmania/src/ScreenDemonstration.cpp +++ b/stepmania/src/ScreenDemonstration.cpp @@ -138,6 +138,7 @@ void ScreenDemonstration::HandleScreenMessage( const ScreenMessage SM ) case SM_GoToNextScreen: SOUND->StopMusic(); GAMESTATE->Reset(); + SOUNDMAN->SetPrefs( PREFSMAN->m_fSoundVolume ); // turn volume back on SCREENMAN->SetNewScreen( NEXT_SCREEN ); return; }