put HoldNoteScore values in ascending value of goodness, like TapNoteScore values

This commit is contained in:
Chris Danford
2004-08-28 22:29:53 +00:00
parent ffc99a4648
commit cd1fb281c2
2 changed files with 3 additions and 4 deletions
+2 -3
View File
@@ -148,14 +148,13 @@ Grade StageStats::GetGrade( PlayerNumber pn ) const
};
float Possible = 0, Actual = 0;
int i;
for( i = 0; i < NUM_TAP_NOTE_SCORES; ++i )
FOREACH_TapNoteScore( i )
{
Actual += iTapNoteScores[pn][i] * TapScoreValues[i];
Possible += iTapNoteScores[pn][i] * TapScoreValues[TNS_MARVELOUS];
}
for( i = HNS_OK; i < NUM_HOLD_NOTE_SCORES; ++i )
FOREACH_HoldNoteScore( i )
{
Actual += iHoldNoteScores[pn][i] * HoldScoreValues[i];
Possible += iHoldNoteScores[pn][i] * HoldScoreValues[HNS_OK];