fix player being marked failed in oni

This commit is contained in:
Glenn Maynard
2003-02-17 00:30:55 +00:00
parent c26675c606
commit 5172339678
+1 -1
View File
@@ -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;
} }