Simplify. Fix eval time display.

This commit is contained in:
Glenn Maynard
2003-09-27 03:54:31 +00:00
parent 4a2cf95995
commit 400793d5a4
2 changed files with 3 additions and 6 deletions
+2 -5
View File
@@ -43,12 +43,9 @@ void ScoreDisplayOni::Update( float fDelta )
{
ScoreDisplay::Update( fDelta );
float fSecsIntoPlay;
float fSecsIntoPlay = 0;
if( GAMESTATE->IsPlayerEnabled(m_PlayerNumber) )
// cure: multiplied by music rate to adjust timer
fSecsIntoPlay = GAMESTATE->m_CurStageStats.fAliveSeconds[m_PlayerNumber] * GAMESTATE->m_SongOptions.m_fMusicRate;
else
fSecsIntoPlay = 0;
fSecsIntoPlay = GAMESTATE->m_CurStageStats.fAliveSeconds[m_PlayerNumber];
m_text.SetText( SecondsToTime(fSecsIntoPlay) );
}