[ScreenGameplay, LyricDisplay] Stop lyrics from animating on failure. Fixes issue 298.

This commit is contained in:
AJ Kelly
2011-07-31 12:54:21 -05:00
parent d3f641c0e3
commit 06c447026d
4 changed files with 18 additions and 1 deletions
+8
View File
@@ -31,10 +31,18 @@ void LyricDisplay::Init()
m_iCurLyricNumber = 0;
m_fLastSecond = -500;
m_bStopped = false;
}
void LyricDisplay::Stop() {
m_bStopped = true;
}
void LyricDisplay::Update( float fDeltaTime )
{
if( m_bStopped )
return;
ActorFrame::Update( fDeltaTime );
if( GAMESTATE->m_pCurSong == NULL )