diff options
author | rubidium <rubidium@openttd.org> | 2006-08-15 15:18:03 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2006-08-15 15:18:03 +0000 |
commit | 0d3ccad29fb035fced3a1a87b7804fde8c4e94b1 (patch) | |
tree | 40cc27f619e175b8c9a80e13e6651c33b92144aa /oldloader.c | |
parent | 8aa76f306db00b81f14b53a736b6e30099258841 (diff) | |
download | openttd-0d3ccad29fb035fced3a1a87b7804fde8c4e94b1.tar.xz |
(svn r5916) -Cleanup: use MIN_YEAR/MAX_YEAR for the year boundaries and BASE_YEAR when comparing _cur_year with a 'full' year.
-Cleanup: replace some magic '1920' values with BASE_YEAR.
Diffstat (limited to 'oldloader.c')
-rw-r--r-- | oldloader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oldloader.c b/oldloader.c index 6f634ac92..6bdea4f09 100644 --- a/oldloader.c +++ b/oldloader.c @@ -995,7 +995,7 @@ static bool LoadOldPlayer(LoadgameState *ls, int num) p->money64 = p->player_money = p->current_loan = 100000; _player_colors[num] = p->player_color; - p->inaugurated_year = _old_inaugurated_year - MAX_YEAR_BEGIN_REAL; + p->inaugurated_year = _old_inaugurated_year - BASE_YEAR; if (p->location_of_house == 0xFFFF) p->location_of_house = 0; |