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.
This commit is contained in:
John Bauer
2006-11-27 01:08:31 +00:00
parent 15fd4ad880
commit b1765cdc0f
+5 -4
View File
@@ -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 );