From 917893ec0692ddccb9989b5a7dddc6a4d035ed48 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 10 Jan 2005 15:37:29 +0000 Subject: [PATCH] simplify --- stepmania/src/ScoreDisplayNormal.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/stepmania/src/ScoreDisplayNormal.cpp b/stepmania/src/ScoreDisplayNormal.cpp index 1838e1fab2..d6154cc2e6 100644 --- a/stepmania/src/ScoreDisplayNormal.cpp +++ b/stepmania/src/ScoreDisplayNormal.cpp @@ -59,10 +59,7 @@ void ScoreDisplayNormal::SetScore( int iNewScore ) if( m_pPlayerState->m_CurrentPlayerOptions.m_ScoreDisplay == PlayerOptions::SCORING_SUBTRACT ) { - if( iNewScore == 0 && g_CurStageStats.m_player[pn].iCurMaxScore == 0 ) - m_iScore = g_CurStageStats.m_player[pn].iMaxScore; - else - m_iScore = g_CurStageStats.m_player[pn].iMaxScore - ( g_CurStageStats.m_player[pn].iCurMaxScore - iNewScore ); + m_iScore = g_CurStageStats.m_player[pn].iMaxScore - ( g_CurStageStats.m_player[pn].iCurMaxScore - iNewScore ); } else if( m_pPlayerState->m_CurrentPlayerOptions.m_ScoreDisplay == PlayerOptions::SCORING_AVERAGE ) {