track whether player gave up, hide Barely if gave up

This commit is contained in:
Chris Danford
2005-05-09 10:12:03 +00:00
parent 17b6d15d79
commit f217e5f0f4
4 changed files with 14 additions and 5 deletions
+5
View File
@@ -1596,6 +1596,11 @@ void ScreenGameplay::Update( float fDeltaTime )
bool bGiveUpTimerFired = !m_GiveUpTimer.IsZero() && m_GiveUpTimer.Ago() > 2.5f;
if( bGiveUpTimerFired || GAMESTATE->AllHaveComboOf30OrMoreMisses() )
{
// Give up
FOREACH_PlayerNumber( p )
STATSMAN->m_CurStageStats.m_player[p].bGaveUp = true;
m_GiveUpTimer.SetZero();
if( GIVING_UP_GOES_TO_PREV_SCREEN )