From 051abb2fad6f83137b8272a3bb614559248123c7 Mon Sep 17 00:00:00 2001 From: Tyler Trahan Date: Sun, 10 Dec 2023 18:05:51 -0500 Subject: [PATCH] Change: Don't show scoring year in high score table (#11546) --- src/highscore_gui.cpp | 4 ++-- src/lang/english.txt | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/highscore_gui.cpp b/src/highscore_gui.cpp index a6c9529af4..3fedda84ca 100644 --- a/src/highscore_gui.cpp +++ b/src/highscore_gui.cpp @@ -189,8 +189,8 @@ struct HighScoreWindow : EndGameHighScoreBaseWindow { this->SetupHighScoreEndWindow(); Point pt = this->GetTopLeft(ScaleSpriteTrad(640), ScaleSpriteTrad(480)); - SetDParam(0, _settings_game.game_creation.ending_year); - DrawStringMultiLine(pt.x + ScaleSpriteTrad(70), pt.x + ScaleSpriteTrad(570), pt.y, pt.y + ScaleSpriteTrad(140), !_networking ? STR_HIGHSCORE_TOP_COMPANIES_WHO_REACHED : STR_HIGHSCORE_TOP_COMPANIES_NETWORK_GAME, TC_FROMSTRING, SA_CENTER); + /* Draw the title. */ + DrawStringMultiLine(pt.x + ScaleSpriteTrad(70), pt.x + ScaleSpriteTrad(570), pt.y, pt.y + ScaleSpriteTrad(140), STR_HIGHSCORE_TOP_COMPANIES, TC_FROMSTRING, SA_CENTER); /* Draw Highscore peepz */ for (uint8_t i = 0; i < ClampTo(hs.size()); i++) { diff --git a/src/lang/english.txt b/src/lang/english.txt index 5d9b8688ea..d82f9702ce 100644 --- a/src/lang/english.txt +++ b/src/lang/english.txt @@ -718,8 +718,7 @@ STR_PLAYLIST_TOOLTIP_CLICK_TO_ADD_TRACK :{BLACK}Click on STR_PLAYLIST_TOOLTIP_CLICK_TO_REMOVE_TRACK :{BLACK}Click on music track to remove it from current programme (Custom1 or Custom2 only) # Highscore window -STR_HIGHSCORE_TOP_COMPANIES_WHO_REACHED :{BIG_FONT}{BLACK}Top companies who reached {NUM} -STR_HIGHSCORE_TOP_COMPANIES_NETWORK_GAME :{BIG_FONT}{BLACK}Company League Table in {NUM} +STR_HIGHSCORE_TOP_COMPANIES :{BIG_FONT}{BLACK}Top companies STR_HIGHSCORE_POSITION :{BIG_FONT}{BLACK}{COMMA}. STR_HIGHSCORE_PERFORMANCE_TITLE_BUSINESSMAN :Businessperson STR_HIGHSCORE_PERFORMANCE_TITLE_ENTREPRENEUR :Entrepreneur