Second verse, better than first.

This commit is contained in:
Jason Felds
2011-07-11 15:43:47 -04:00
parent c0798445f8
commit fb5450e234
+2 -2
View File
@@ -475,14 +475,14 @@ void SongUtil::SortSongPointerArrayByGrades( vector<Song*> &vpSongsInOut, bool b
{
Song *pSong = vpSongsInOut[i];
int iCounts[Grade_NoData + 1];
int iCounts[NUM_Grade];
const Profile *pProfile = PROFILEMAN->GetMachineProfile();
ASSERT( pProfile );
pProfile->GetGrades( pSong, GAMESTATE->GetCurrentStyle()->m_StepsType, iCounts );
RString foo;
foo.reserve(256);
for( int g=Grade_Tier01; g<=Grade_NoData; ++g )
for( int g=Grade_Tier01; g<=NUM_Grade; ++g )
AppendOctal( iCounts[g], 3, foo );
vals.push_back( val(pSong, foo) );
}