From ef1325cd3688fd64b9e0efd18db22aa5445ef9a6 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sat, 12 Mar 2005 21:21:47 +0000 Subject: (svn r2004) - Fix: [ 1149487 ] Autosave ignoring settings - Fix: [ 1153926 ] All my settings in vain... IGNORED! - Change: I hope I got it all right. Pressing 'New Game' (either choosing random or a preset scenario) and 'Create Scenario' will start a new game with the settings and difficulty in the intro menu. Using 'Load Game' and 'Play Scenario' will take the values from the savegame/scenario itself. --- misc_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc_gui.c') diff --git a/misc_gui.c b/misc_gui.c index 788aac809..4811a8228 100644 --- a/misc_gui.c +++ b/misc_gui.c @@ -1267,7 +1267,7 @@ static void SaveLoadDlgWndProc(Window *w, WindowEvent *e) strcpy(_file_to_saveload.name, name); DeleteWindow(w); } else if (_saveload_mode == SLD_LOAD_SCENARIO) { - _switch_mode = SM_LOAD_SCENARIO; + _switch_mode = (_game_mode == GM_MENU) ? SM_LOAD : SM_LOAD_SCENARIO; SetFiosType(file->type); strcpy(_file_to_saveload.name, name); DeleteWindow(w); -- cgit v1.2.3-54-g00ecf