Apparently SM_GoToNextScreen doesn't also send an SM_LoseFocus, so we need to

reset the sound volume there, too.
This commit is contained in:
Thad Ward
2004-03-25 10:45:30 +00:00
parent dabfb6355c
commit 3047c0adfb
+1
View File
@@ -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;
}