Added missing GRADEBEST and GRADEWORST cases for CourseWriterCRS

This commit is contained in:
Michael Votaw
2023-12-13 09:12:21 -08:00
committed by teejusb
parent 204ac4b643
commit c9750159fb
+8
View File
@@ -128,6 +128,14 @@ bool CourseWriterCRS::Write( const Course &course, RageFileBasic &f, bool bSavin
{
f.Write( ssprintf( "#SONG:WORST%d", entry.iChooseIndex+1 ) );
}
else if( entry.songSort == SongSort_TopGrades && entry.iChooseIndex != -1 )
{
f.Write( ssprintf( "#SONG:GRADEBEST%d", entry.iChooseIndex + 1 ) );
}
else if( entry.songSort == SongSort_LowestGrades && entry.iChooseIndex != -1 )
{
f.Write( ssprintf( "#SONG:GRADEWORST%d", entry.iChooseIndex + 1 ) );
}
else if( entry.songID.ToSong() )
{
Song *pSong = entry.songID.ToSong();