From b1765cdc0fd68d2e1570a4bba7835f0e4e627cbf Mon Sep 17 00:00:00 2001 From: John Bauer Date: Mon, 27 Nov 2006 01:08:31 +0000 Subject: [PATCH] Fix a bug where the game would display the combo that would have been correct on the previous step: ie after hitting the 4th tap in a row, it would say 3 combo. --- stepmania/src/Player.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index d14924d354..bd61278861 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -1780,15 +1780,16 @@ void Player::HandleTapRowScore( unsigned row ) m_pSecondaryScoreKeeper->HandleTapScore( tn ); } + if( m_pPrimaryScoreKeeper != NULL ) + m_pPrimaryScoreKeeper->HandleTapRowScore( m_NoteData, row ); + if( m_pSecondaryScoreKeeper != NULL ) + m_pSecondaryScoreKeeper->HandleTapRowScore( m_NoteData, row ); + const int iCurCombo = m_pPlayerStageStats ? m_pPlayerStageStats->m_iCurCombo : 0; const int iCurMissCombo = m_pPlayerStageStats ? m_pPlayerStageStats->m_iCurMissCombo : 0; - if( m_pPrimaryScoreKeeper != NULL ) - m_pPrimaryScoreKeeper->HandleTapRowScore( m_NoteData, row ); if( iOldCombo > 50 && iCurCombo < 50 ) SCREENMAN->PostMessageToTopScreen( SM_ComboStopped, 0 ); - if( m_pSecondaryScoreKeeper != NULL ) - m_pSecondaryScoreKeeper->HandleTapRowScore( m_NoteData, row ); SendComboMessage( iOldCombo, iOldMissCombo );