From 1ab2379339bb215cd05cd744ff52863855f2889b Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Sat, 23 May 2009 22:01:24 +0000 Subject: [PATCH] Code cleanup. Not seeing the point of two if statements each one line long when it can be one statement of two lines. No comments are around to indicate why they should be separate. --- stepmania/src/Player.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index 3d247bf492..afe9cc75eb 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -2811,10 +2811,8 @@ void Player::HandleHoldCheckpoint( int iRow, int iNumHoldsHeldThisRow, int iNumH if( m_pPlayerStageStats ) { SetCombo( m_pPlayerStageStats->m_iCurCombo, m_pPlayerStageStats->m_iCurMissCombo ); - } - - if( m_pPlayerStageStats ) m_pPlayerStageStats->UpdateComboList( STATSMAN->m_CurStageStats.m_fStepsSeconds, false ); + } ChangeLife( iNumHoldsMissedThisRow == 0? TNS_CheckpointHit:TNS_CheckpointMiss );