(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:
rubidium
2006-08-15 14:52:17 +00:00
parent d447f025e9
commit 8aa76f306d
41 changed files with 105 additions and 105 deletions

2
date.c
View File

@@ -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)) {