fix fail never happening, no matter the fail mode.

This commit is contained in:
Thad Ward
2004-06-10 19:38:38 +00:00
parent cb6800ccd4
commit 59c0e3bda5
+3 -1
View File
@@ -1278,7 +1278,9 @@ void ScreenGameplay::Update( float fDeltaTime )
//
FOREACH_EnabledPlayer(p)
{
if( g_CurStageStats.bFailed[p] )
if(
(m_pLifeMeter[p] && m_pLifeMeter[p]->IsFailing()) ||
(m_pCombinedLifeMeter && m_pCombinedLifeMeter->IsFailing(p)) )
{
GAMESTATE->m_HealthState[p] = GameState::DEAD;
}