summaryrefslogtreecommitdiff
path: root/src/date.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-25 22:36:44 +0000
committerrubidium <rubidium@openttd.org>2008-05-25 22:36:44 +0000
commitd289464d69172a1048048aebe29bfd56250fc6fa (patch)
tree1460114c8e9243ecb6e428c7db15dfa7abc391ed /src/date.cpp
parent8d60206684a3322f7274cf4a7bf612e428558a31 (diff)
downloadopenttd-d289464d69172a1048048aebe29bfd56250fc6fa.tar.xz
(svn r13255) -Codechange: move _opt to _settings.
Diffstat (limited to 'src/date.cpp')
-rw-r--r--src/date.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/date.cpp b/src/date.cpp
index 7ee769c64..359433572 100644
--- a/src/date.cpp
+++ b/src/date.cpp
@@ -257,7 +257,7 @@ void IncreaseDate()
SaveOrLoad(name, SL_SAVE, AUTOSAVE_DIR);
DebugDumpCommands("ddc:save:%s\n", name);
#endif /* DUMP_COMMANDS */
- if (_opt.autosave != 0 && (_cur_month % _autosave_months[_opt.autosave]) == 0) {
+ if (_settings.gui.autosave != 0 && (_cur_month % _autosave_months[_settings.gui.autosave]) == 0) {
_do_autosave = true;
RedrawAutosave();
}