From 08bcbf5d04e3d39827b7944aa65544e5638a2b8d Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sun, 30 Jul 2006 14:58:17 +0000 Subject: (svn r5656) -Fix [SF 1296259]: Autosave override. Changing autosave interval ingame should also change the default interval. --- settings_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3-70-g09d2