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.

This commit is contained in:
Jason Felds
2009-05-23 22:01:24 +00:00
parent 4f24f9bffb
commit 1ab2379339
+1 -3
View File
@@ -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 );