show cumulative time

This commit is contained in:
Chris Danford
2005-04-09 09:34:26 +00:00
parent 7d06820cdf
commit 9b01704f5d
+3 -1
View File
@@ -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) );
}