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 | dc54e608e36145deab60dea2cbe08517b28e54c0 (patch) | |
tree | 4d695e9efdc4542d90feba482d6d00bd948be0d3 /date.c | |
parent | 672ee1bf3a553c25d446944e8a08131fdf7ceabe (diff) | |
download | openttd-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 '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)) { |