From 2b08f21625da0c0425bc8f5843b802f84b72a0b6 Mon Sep 17 00:00:00 2001 From: Charles Pigott Date: Sat, 13 Feb 2021 21:50:51 +0000 Subject: Fix #8625: Wrong ending year was displayed in highscore table --- src/highscore_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/highscore_gui.cpp b/src/highscore_gui.cpp index a473424f8..b1c428a76 100644 --- a/src/highscore_gui.cpp +++ b/src/highscore_gui.cpp @@ -183,7 +183,7 @@ struct HighScoreWindow : EndGameHighScoreBaseWindow { this->SetupHighScoreEndWindow(); Point pt = this->GetTopLeft(ScaleGUITrad(640), ScaleGUITrad(480)); - SetDParam(0, ORIGINAL_END_YEAR); + SetDParam(0, _settings_game.game_creation.ending_year); DrawStringMultiLine(pt.x + ScaleGUITrad(70), pt.x + ScaleGUITrad(570), pt.y, pt.y + ScaleGUITrad(140), !_networking ? STR_HIGHSCORE_TOP_COMPANIES_WHO_REACHED : STR_HIGHSCORE_TOP_COMPANIES_NETWORK_GAME, TC_FROMSTRING, SA_CENTER); /* Draw Highscore peepz */ -- cgit v1.2.3-54-g00ecf