(svn r14755) -Codechange: remove ending year as it can't be changed anyways.

This commit is contained in:
rubidium
2008-12-28 16:09:58 +00:00
parent 87e5a8b52b
commit 683b65ee18
8 changed files with 7 additions and 10 deletions

View File

@@ -284,8 +284,8 @@ void IncreaseDate()
if (_cur_year == _settings_client.gui.semaphore_build_before) ResetSignalVariant();
/* check if we reached end of the game */
if (_cur_year == _settings_client.gui.ending_year) {
ShowEndGameChart();
if (_cur_year == ORIGINAL_END_YEAR) {
ShowEndGameChart();
/* check if we reached the maximum year, decrement dates by a year */
} else if (_cur_year == MAX_YEAR + 1) {
Vehicle *v;