summaryrefslogtreecommitdiff
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
commit08bcbf5d04e3d39827b7944aa65544e5638a2b8d (patch)
tree712671d7254c1e50c044a4b0f9d9cb58d9f0f212
parent7ce6a95eb9c012f52bbe59f3866c6bf3d8903977 (diff)
downloadopenttd-08bcbf5d04e3d39827b7944aa65544e5638a2b8d.tar.xz
(svn r5656) -Fix [SF 1296259]: Autosave override. Changing autosave interval ingame should also change the default interval.
-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 */