fix player being marked failed in oni
This commit is contained in:
@@ -785,12 +785,12 @@ void ScreenGameplay::Update( float fDeltaTime )
|
|||||||
if( !AllFailedEarlier() ) // if not the last one to fail
|
if( !AllFailedEarlier() ) // if not the last one to fail
|
||||||
{
|
{
|
||||||
// kill them!
|
// kill them!
|
||||||
GAMESTATE->m_CurStageStats.bFailed[pn] = true;
|
|
||||||
m_soundOniDie.PlayRandom();
|
m_soundOniDie.PlayRandom();
|
||||||
ShowOniGameOver((PlayerNumber)pn);
|
ShowOniGameOver((PlayerNumber)pn);
|
||||||
m_Player[pn].Init(); // remove all notes and scoring
|
m_Player[pn].Init(); // remove all notes and scoring
|
||||||
m_Player[pn].FadeToFail(); // tell the NoteField to fade to white
|
m_Player[pn].FadeToFail(); // tell the NoteField to fade to white
|
||||||
}
|
}
|
||||||
|
GAMESTATE->m_CurStageStats.bFailed[pn] = true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user