hide grade

This commit is contained in:
Glenn Maynard
2005-08-12 02:19:08 +00:00
parent 2307fa23d9
commit aa04fe60dd
6 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -260,7 +260,7 @@ int Profile::GetTotalStepsWithTopGrade( StepsType st, Difficulty d, Grade g ) co
if( hsl.vHighScores.empty() )
continue; // skip
if( hsl.vHighScores[0].grade == g )
if( hsl.vHighScores[0].GetGrade() == g )
iCount++;
}
}
@@ -290,7 +290,7 @@ int Profile::GetTotalTrailsWithTopGrade( StepsType st, CourseDifficulty d, Grade
if( hsl.vHighScores.empty() )
continue; // skip
if( hsl.vHighScores[0].grade == g )
if( hsl.vHighScores[0].GetGrade() == g )
iCount++;
}
@@ -653,7 +653,7 @@ void Profile::GetGrades( const Song* pSong, StepsType st, int iCounts[NUM_GRADES
continue;
const HighScoresForASteps &hsSteps = it->second;
if( hsSteps.hsl.GetTopScore().grade == g )
if( hsSteps.hsl.GetTopScore().GetGrade() == g )
iCounts[g]++;
}
}