profiles are usable

This commit is contained in:
Chris Danford
2003-09-08 07:21:41 +00:00
parent f5bb646c1f
commit c0c680317c
19 changed files with 294 additions and 90 deletions
+2 -2
View File
@@ -1159,7 +1159,7 @@ void Song::RemoveAutoGenNotes()
}
Grade Song::GetGradeForDifficulty( const StyleDef *st, PlayerNumber pn, Difficulty dc ) const
Grade Song::GetGradeForDifficulty( const StyleDef *st, MemoryCard card, Difficulty dc ) const
{
// return max grade of notes in difficulty class
vector<Steps*> aNotes;
@@ -1172,7 +1172,7 @@ Grade Song::GetGradeForDifficulty( const StyleDef *st, PlayerNumber pn, Difficul
{
const Steps* pNotes = aNotes[i];
if( pNotes->GetDifficulty() == dc )
grade = max( grade, pNotes->m_MemCardScores[pn].grade );
grade = max( grade, pNotes->m_MemCardScores[card].grade );
}
return grade;
}