Don't skip high scores with a 0 in the Score field
Since itgmania is storing white counts in the Score field of stats.xml, ignoring these scores will eliminate quints when retrieving high scores.
This commit is contained in:
@@ -397,10 +397,6 @@ void HighScoreList::LoadFromNode( const XNode* pHighScoreList )
|
|||||||
vHighScores.resize( vHighScores.size()+1 );
|
vHighScores.resize( vHighScores.size()+1 );
|
||||||
vHighScores.back().LoadFromNode( p );
|
vHighScores.back().LoadFromNode( p );
|
||||||
|
|
||||||
// ignore all high scores that are 0
|
|
||||||
if( vHighScores.back().GetScore() == 0 )
|
|
||||||
vHighScores.pop_back();
|
|
||||||
else
|
|
||||||
HighGrade = std::min( vHighScores.back().GetGrade(), HighGrade );
|
HighGrade = std::min( vHighScores.back().GetGrade(), HighGrade );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user