summaryrefslogtreecommitdiff
path: root/settings_gui.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-07-30 14:58:17 +0000
committerDarkvater <darkvater@openttd.org>2006-07-30 14:58:17 +0000
commitc3bc55119538d48b104c1a7b0e72f11711810849 (patch)
tree712671d7254c1e50c044a4b0f9d9cb58d9f0f212 /settings_gui.c
parent7c87c2e752623b4f08b2aaa32899732c975ba171 (diff)
downloadopenttd-c3bc55119538d48b104c1a7b0e72f11711810849.tar.xz
(svn r5656) -Fix [SF 1296259]: Autosave override. Changing autosave interval ingame should also change the default interval.
Diffstat (limited to 'settings_gui.c')
-rw-r--r--settings_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings_gui.c b/settings_gui.c
index ad012300a..3f7bb5630 100644
--- a/settings_gui.c
+++ b/settings_gui.c
@@ -192,7 +192,7 @@ static void GameOptionsWndProc(Window *w, WindowEvent *e)
}
break;
case 17: /* Autosave options */
- _opt_ptr->autosave = e->dropdown.index;
+ _opt.autosave = _opt_newgame.autosave = e->dropdown.index;
SetWindowDirty(w);
break;
case 24: /* Change interface language */