don't import invalid grades
This commit is contained in:
@@ -984,6 +984,8 @@ void Profile::LoadSongScoresFromDirSM390a12( CString sDir )
|
|||||||
if( !FileRead(f, fPercentDP) )
|
if( !FileRead(f, fPercentDP) )
|
||||||
WARN_AND_RETURN;
|
WARN_AND_RETURN;
|
||||||
|
|
||||||
|
if( grade == NUM_GRADES || grade == GRADE_NO_DATA )
|
||||||
|
continue; // ignore this high score
|
||||||
if( pSteps == NULL )
|
if( pSteps == NULL )
|
||||||
continue; // ignore this high score
|
continue; // ignore this high score
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user