From 59c0e3bda5ca62df694c2161c39178d5fe72f51c Mon Sep 17 00:00:00 2001 From: Thad Ward Date: Thu, 10 Jun 2004 19:38:38 +0000 Subject: [PATCH] fix fail never happening, no matter the fail mode. --- stepmania/src/ScreenGameplay.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index 6b181cbb1e..932b7f64b2 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -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; }