summaryrefslogtreecommitdiff
path: root/src/highscore_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-12-05 19:36:41 +0000
committerfrosch <frosch@openttd.org>2012-12-05 19:36:41 +0000
commitd1ab0f03bcfc01be933d70edda9b95fb0ffeb8b4 (patch)
treee0ea4cdde0c4d20de3c397ba2453ee6b2e312246 /src/highscore_gui.cpp
parent812ae4140a8566c2b4b43c6aa5bab5eecf82f18a (diff)
downloadopenttd-d1ab0f03bcfc01be933d70edda9b95fb0ffeb8b4.tar.xz
(svn r24790) -Remove: Classic difficulty profiles.
Diffstat (limited to 'src/highscore_gui.cpp')
-rw-r--r--src/highscore_gui.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/highscore_gui.cpp b/src/highscore_gui.cpp
index 9c6bfcd6f..af4dbf6dd 100644
--- a/src/highscore_gui.cpp
+++ b/src/highscore_gui.cpp
@@ -111,7 +111,7 @@ struct EndGameWindow : EndGameHighScoreBaseWindow {
} else {
/* in single player _local company is always valid */
const Company *c = Company::Get(_local_company);
- this->window_number = _settings_game.difficulty.diff_level;
+ this->window_number = SP_CUSTOM;
this->rank = SaveHighScoreValue(c);
}
@@ -177,7 +177,6 @@ struct HighScoreWindow : EndGameHighScoreBaseWindow {
Point pt = this->GetTopLeft640x480();
SetDParam(0, ORIGINAL_END_YEAR);
- SetDParam(1, this->window_number + STR_DIFFICULTY_LEVEL_EASY);
DrawStringMultiLine(pt.x + 70, pt.x + 570, pt.y, pt.y + 140, !_networking ? STR_HIGHSCORE_TOP_COMPANIES_WHO_REACHED : STR_HIGHSCORE_TOP_COMPANIES_NETWORK_GAME, TC_FROMSTRING, SA_CENTER);
/* Draw Highscore peepz */