From 7ac42c7f7380af530411667546d3663db259f17d Mon Sep 17 00:00:00 2001 From: SugoiFactory Date: Sun, 17 Mar 2024 21:44:58 -0700 Subject: [PATCH] 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. --- src/HighScore.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/HighScore.cpp b/src/HighScore.cpp index f87906da2a..88c133730a 100644 --- a/src/HighScore.cpp +++ b/src/HighScore.cpp @@ -397,11 +397,7 @@ void HighScoreList::LoadFromNode( const XNode* pHighScoreList ) vHighScores.resize( vHighScores.size()+1 ); 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 ); } } }