From 9b01704f5d6a136bd3d120c9132417f973af1498 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sat, 9 Apr 2005 09:34:26 +0000 Subject: [PATCH] show cumulative time --- stepmania/src/ScoreDisplayAliveTime.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ScoreDisplayAliveTime.cpp b/stepmania/src/ScoreDisplayAliveTime.cpp index 273cd150f0..6d3192e9c5 100644 --- a/stepmania/src/ScoreDisplayAliveTime.cpp +++ b/stepmania/src/ScoreDisplayAliveTime.cpp @@ -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) ); }