diff --git a/stepmania/src/HighScore.cpp b/stepmania/src/HighScore.cpp index 62f31cdc46..594ed73788 100644 --- a/stepmania/src/HighScore.cpp +++ b/stepmania/src/HighScore.cpp @@ -73,7 +73,11 @@ void HighScore::LoadFromNode( const XNode* pNode ) { CString sGrade; (*child)->GetValue( sGrade ); - grade = StringToGrade( sGrade ); + /* Pre-a19 compatibility; remove eventually: */ + if( IsAnInt(sGrade) ) + grade = (Grade) atoi( sGrade ); + else + grade = StringToGrade( sGrade ); } else if( (*child)->name == "Score" ) (*child)->GetValue( iScore ); else if( (*child)->name == "PercentDP" ) (*child)->GetValue( fPercentDP );