fix sync overlay help sticks around between stages

This commit is contained in:
Chris Danford
2006-04-04 21:48:17 +00:00
parent 16ecd09b9b
commit fe14635d12
2 changed files with 9 additions and 2 deletions
+8 -2
View File
@@ -67,8 +67,7 @@ void ScreenSyncOverlay::Update( float fDeltaTime )
this->SetVisible( IsGameplay() );
if( !IsGameplay() )
{
m_quad.SetDiffuseAlpha( 0 );
m_textHelp.SetDiffuseAlpha( 0 );
HideHelp();
return;
}
@@ -240,6 +239,13 @@ void ScreenSyncOverlay::ShowHelp()
m_textHelp.SetDiffuseAlpha( 0 );
}
void ScreenSyncOverlay::HideHelp()
{
m_quad.FinishTweening();
m_textHelp.FinishTweening();
}
/*
* (c) 2001-2005 Chris Danford
* All rights reserved.