summaryrefslogtreecommitdiff
path: root/player_gui.c
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-08-15 14:52:17 +0000
committerrubidium <rubidium@openttd.org>2006-08-15 14:52:17 +0000
commit8aa76f306db00b81f14b53a736b6e30099258841 (patch)
tree4d695e9efdc4542d90feba482d6d00bd948be0d3 /player_gui.c
parentd447f025e9c44a347e9134a5ecda92fbbe14bb75 (diff)
downloadopenttd-8aa76f306db00b81f14b53a736b6e30099258841.tar.xz
(svn r5915) -Cleanup: some variables were named *_date while they were only holding years; rename these variables to match this.
Diffstat (limited to 'player_gui.c')
-rw-r--r--player_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player_gui.c b/player_gui.c
index ba978dd53..adf4e9fae 100644
--- a/player_gui.c
+++ b/player_gui.c
@@ -819,7 +819,7 @@ static void HighScoreWndProc(Window *w, WindowEvent *e)
SetupHighScoreEndWindow(w, &x, &y);
- SetDParam(0, _patches.ending_date);
+ SetDParam(0, _patches.ending_year);
SetDParam(1, w->window_number + STR_6801_EASY);
DrawStringMultiCenter(x + (640 / 2), y + 62, !_networking ? STR_0211_TOP_COMPANIES_WHO_REACHED : STR_TOP_COMPANIES_NETWORK_GAME, 500);