Never set StageStats::bFailed in FAIL_OFF. Fixes life bar not refilling
after bottoming out the lifebar in PassMark mode.
This commit is contained in:
@@ -1200,6 +1200,9 @@ void ScreenGameplay::Update( float fDeltaTime )
|
|||||||
* SM_BeginFailed if all players failed, and kill dead Oni players. */
|
* SM_BeginFailed if all players failed, and kill dead Oni players. */
|
||||||
void ScreenGameplay::UpdateCheckFail()
|
void ScreenGameplay::UpdateCheckFail()
|
||||||
{
|
{
|
||||||
|
if( GAMESTATE->m_SongOptions.m_FailType == SongOptions::FAIL_OFF )
|
||||||
|
return;
|
||||||
|
|
||||||
// check for individual fail
|
// check for individual fail
|
||||||
for ( int pn=0; pn<NUM_PLAYERS; pn++ )
|
for ( int pn=0; pn<NUM_PLAYERS; pn++ )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user