don't import invalid grades

This commit is contained in:
Glenn Maynard
2004-02-23 23:12:40 +00:00
parent 38635516ba
commit 053fd3bd04
+2
View File
@@ -984,6 +984,8 @@ void Profile::LoadSongScoresFromDirSM390a12( CString sDir )
if( !FileRead(f, fPercentDP) )
WARN_AND_RETURN;
if( grade == NUM_GRADES || grade == GRADE_NO_DATA )
continue; // ignore this high score
if( pSteps == NULL )
continue; // ignore this high score