diff options
author | rubidium <rubidium@openttd.org> | 2006-08-15 14:52:17 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2006-08-15 14:52:17 +0000 |
commit | 8aa76f306db00b81f14b53a736b6e30099258841 (patch) | |
tree | 4d695e9efdc4542d90feba482d6d00bd948be0d3 /date.c | |
parent | d447f025e9c44a347e9134a5ecda92fbbe14bb75 (diff) | |
download | openttd-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 'date.c')
-rw-r--r-- | date.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -282,7 +282,7 @@ void IncreaseDate(void) #endif /* ENABLE_NETWORK */ /* check if we reached end of the game */ - if (_cur_year == _patches.ending_date - MAX_YEAR_BEGIN_REAL) { + if (_cur_year == _patches.ending_year - MAX_YEAR_BEGIN_REAL) { ShowEndGameChart(); /* check if we reached the maximum year, decrement dates by a year */ } else if (_cur_year == (MAX_YEAR_END + 1)) { |