update combo in HandleTapRowScore

This commit is contained in:
Glenn Maynard
2003-09-19 20:15:15 +00:00
parent 12e5f297ab
commit 7f09d1c7b2
+2 -3
View File
@@ -704,7 +704,6 @@ void PlayerMinus::OnRowCompletelyJudged( int iIndexThatWasSteppedOn )
} }
HandleTapRowScore( iIndexThatWasSteppedOn ); // update score HandleTapRowScore( iIndexThatWasSteppedOn ); // update score
m_Combo.SetCombo( GAMESTATE->m_CurStageStats.iCurCombo[m_PlayerNumber] );
m_Judgment.SetJudgment( score ); m_Judgment.SetJudgment( score );
} }
@@ -768,13 +767,11 @@ void PlayerMinus::UpdateTapNotesMissedOlderThan( float fMissIfOlderThanSeconds )
{ {
iNumMissesFound++; iNumMissesFound++;
HandleTapRowScore( r ); HandleTapRowScore( r );
m_Combo.SetCombo( GAMESTATE->m_CurStageStats.iCurCombo[m_PlayerNumber] );
} }
else if( MissedMineOnThisRow ) else if( MissedMineOnThisRow )
{ {
iNumMinesMissed++; iNumMinesMissed++;
HandleTapRowScore( r ); HandleTapRowScore( r );
m_Combo.SetCombo( GAMESTATE->m_CurStageStats.iCurCombo[m_PlayerNumber] );
} }
} }
@@ -906,6 +903,8 @@ void PlayerMinus::HandleTapRowScore( unsigned row )
if(m_pSecondaryScoreKeeper) if(m_pSecondaryScoreKeeper)
m_pSecondaryScoreKeeper->HandleTapRowScore(scoreOfLastTap, iNumTapsInRow, iNumAdditions ); m_pSecondaryScoreKeeper->HandleTapRowScore(scoreOfLastTap, iNumTapsInRow, iNumAdditions );
m_Combo.SetCombo( GAMESTATE->m_CurStageStats.iCurCombo[m_PlayerNumber] );
#define CROSSED( x ) (iOldCombo<x && iCurCombo>=x) #define CROSSED( x ) (iOldCombo<x && iCurCombo>=x)
if ( CROSSED(100) ) if ( CROSSED(100) )
SCREENMAN->PostMessageToTopScreen( SM_100Combo, 0 ); SCREENMAN->PostMessageToTopScreen( SM_100Combo, 0 );