forked from mirror/OpenTTD
(svn r5915) -Cleanup: some variables were named *_date while they were only holding years; rename these variables to match this.
This commit is contained in:
2
date.c
2
date.c
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user