ScreenGameplay::Cancel

This commit is contained in:
Glenn Maynard
2005-09-10 20:07:13 +00:00
parent 239121556c
commit 4ec619a7c2
2 changed files with 8 additions and 4 deletions
+7 -4
View File
@@ -2594,10 +2594,6 @@ void ScreenGameplay::HandleScreenMessage( const ScreenMessage SM )
else
SOUND->PlayOnceFromAnnouncer( "gameplay failed" );
}
else if( SM == SM_StopMusic )
{
m_pSoundMusic->Stop();
}
else if( SM == SM_Pause )
{
/* Ignore SM_Pause when in demonstration. */
@@ -2612,6 +2608,13 @@ void ScreenGameplay::HandleScreenMessage( const ScreenMessage SM )
}
void ScreenGameplay::Cancel( ScreenMessage smSendWhenDone )
{
m_pSoundMusic->Stop();
ScreenWithMenuElements::Cancel( smSendWhenDone );
}
void ScreenGameplay::TweenOursOnScreen()
{
ON_COMMAND( m_sprLifeFrame );