This commit is contained in:
Glenn Maynard
2007-05-01 23:50:46 +00:00
parent 76996cf312
commit 3ba868d3a7
+1 -3
View File
@@ -468,9 +468,7 @@ void ScreenRankingScroller::BeginScreen()
void ScoreScroller::SetScoreFromHighScoreList( BitmapText *pTextStepsScore, const HighScoreList &hsl )
{
HighScore hs = hsl.GetTopScore();
if( !hsl.vHighScores.empty() )
hs = hsl.GetTopScore();
else
if( hsl.vHighScores.empty() )
hs.SetName( NO_SCORE_NAME );
RString s = hs.GetDisplayName() + "\n" + PercentageDisplay::FormatPercentScore( hs.GetPercentDP() );