Update the lifebar if we are using it but not using the player object.

This commit is contained in:
Thad Ward
2003-09-08 18:05:00 +00:00
parent f61cf91601
commit 226f34427b
+7
View File
@@ -213,6 +213,13 @@ void ScreenHowToPlay::Update( float fDelta )
if(( iCurNoteRow != iLastNoteRowCounted ) &&(m_NoteData.IsThereATapAtRow( iCurNoteRow )))
{
if( m_pLifeMeterBar && !m_pPlayer )
{
if ( m_iPerfects < m_iNumPerfects )
m_pLifeMeterBar->ChangeLife(TNS_PERFECT);
else
m_pLifeMeterBar->ChangeLife(TNS_MISS);
}
m_iPerfects++;
iLastNoteRowCounted = iCurNoteRow;
}