changeset 9358 | 2e1e4d2f71dd |
parent 9354 | 845e07db4549 |
child 9413 | 7042a8ec3fa8 |
--- a/src/date.cpp Sun May 25 20:00:10 2008 +0000 +++ b/src/date.cpp Sun May 25 22:36:44 2008 +0000 @@ -257,7 +257,7 @@ 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(); }