use mixed case values for enum Grade so that enum matches strings matches Lua

This commit is contained in:
Chris Danford
2005-08-14 11:38:31 +00:00
parent b1010041a2
commit 70d1f0eadb
16 changed files with 116 additions and 116 deletions
+2 -2
View File
@@ -633,13 +633,13 @@ void Profile::IncrementStepsPlayCount( const Song* pSong, const Steps* pSteps )
GetStepsHighScoreList(pSong,pSteps).IncrementPlayCount( now );
}
void Profile::GetGrades( const Song* pSong, StepsType st, int iCounts[NUM_GRADES] ) const
void Profile::GetGrades( const Song* pSong, StepsType st, int iCounts[NUM_Grade] ) const
{
SongID songID;
songID.FromSong( pSong );
memset( iCounts, 0, sizeof(int)*NUM_GRADES );
memset( iCounts, 0, sizeof(int)*NUM_Grade );
const HighScoresForASong *hsSong = GetHighScoresForASong( songID );
if( hsSong == NULL )
return;