matching SM_GainFocus and SM_LoseFocus

This commit is contained in:
Glenn Maynard
2005-07-04 23:41:33 +00:00
parent 1bb4522e54
commit 50e5ca7030
+5
View File
@@ -2282,6 +2282,11 @@ void ScreenGameplay::HandleScreenMessage( const ScreenMessage SM )
SongFinished(); SongFinished();
StageFinished( false ); StageFinished( false );
} }
else if( SM == SM_GainFocus )
{
/* We do this ourself. */
SOUND->HandleSongTimer( false );
}
else if( SM == SM_LoseFocus ) else if( SM == SM_LoseFocus )
{ {
/* We might have turned the song timer off. Be sure to turn it back on. */ /* We might have turned the song timer off. Be sure to turn it back on. */