add missing breaks to SM_GainFocus and SM_LoseFocus
This commit is contained in:
@@ -129,9 +129,11 @@ void ScreenDemonstration::HandleScreenMessage( const ScreenMessage SM )
|
||||
case SM_GainFocus:
|
||||
if( !GAMESTATE->IsTimeToPlayAttractSounds() )
|
||||
SOUNDMAN->SetPrefs( 0 ); // silent
|
||||
break;
|
||||
|
||||
case SM_LoseFocus:
|
||||
SOUNDMAN->SetPrefs( PREFSMAN->m_fSoundVolume ); // turn volume back on
|
||||
break;
|
||||
|
||||
case SM_GoToNextScreen:
|
||||
SOUND->StopMusic();
|
||||
|
||||
Reference in New Issue
Block a user