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
commitdc54e608e36145deab60dea2cbe08517b28e54c0 (patch)
tree4d695e9efdc4542d90feba482d6d00bd948be0d3 /player_gui.c
parent672ee1bf3a553c25d446944e8a08131fdf7ceabe (diff)
downloadopenttd-dc54e608e36145deab60dea2cbe08517b28e54c0.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);