diff options
author | rubidium <rubidium@openttd.org> | 2008-05-25 19:17:03 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-25 19:17:03 +0000 |
commit | 4625695653c3c0be16b61b640c206c557af9ec7b (patch) | |
tree | d480693e848eb121add7037faa150875d750cc98 /src/date.cpp | |
parent | 6ea832ec7cbd572c72e96a179bb8c744834ee2e7 (diff) | |
download | openttd-4625695653c3c0be16b61b640c206c557af9ec7b.tar.xz |
(svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
Diffstat (limited to 'src/date.cpp')
-rw-r--r-- | src/date.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/date.cpp b/src/date.cpp index ce8b99343..7ee769c64 100644 --- a/src/date.cpp +++ b/src/date.cpp @@ -283,10 +283,10 @@ void IncreaseDate() ShipsYearlyLoop(); if (_network_server) NetworkServerYearlyLoop(); - if (_cur_year == _patches.semaphore_build_before) ResetSignalVariant(); + if (_cur_year == _settings.gui.semaphore_build_before) ResetSignalVariant(); /* check if we reached end of the game */ - if (_cur_year == _patches.ending_year) { + if (_cur_year == _settings.gui.ending_year) { ShowEndGameChart(); /* check if we reached the maximum year, decrement dates by a year */ } else if (_cur_year == MAX_YEAR + 1) { @@ -303,5 +303,5 @@ void IncreaseDate() InitChatMessage(); } - if (_patches.auto_euro) CheckSwitchToEuro(); + if (_settings.gui.auto_euro) CheckSwitchToEuro(); } |