show cumulative time
This commit is contained in:
@@ -53,7 +53,9 @@ void ScoreDisplayAliveTime::UpdateNumber()
|
||||
float fSecsIntoPlay = 0;
|
||||
ASSERT( m_PlayerNumber != PLAYER_INVALID );
|
||||
if( GAMESTATE->IsPlayerEnabled(m_PlayerNumber) )
|
||||
fSecsIntoPlay = STATSMAN->m_CurStageStats.m_player[m_PlayerNumber].fAliveSeconds;
|
||||
fSecsIntoPlay =
|
||||
STATSMAN->GetAccumStageStats().m_player[m_PlayerNumber].fAliveSeconds +
|
||||
STATSMAN->m_CurStageStats.m_player[m_PlayerNumber].fAliveSeconds;
|
||||
|
||||
SetText( SecondsToMMSSMsMs(fSecsIntoPlay) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user