diff options
author | Darkvater <Darkvater@openttd.org> | 2005-03-12 21:21:47 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2005-03-12 21:21:47 +0000 |
commit | ef1325cd3688fd64b9e0efd18db22aa5445ef9a6 (patch) | |
tree | 3e154dae321b4ae4880a4ae3ad91616338e7b720 /misc_gui.c | |
parent | 9ef5a76b3ef6af43127b6a6d96f108accd490f41 (diff) | |
download | openttd-ef1325cd3688fd64b9e0efd18db22aa5445ef9a6.tar.xz |
(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.
Diffstat (limited to 'misc_gui.c')
-rw-r--r-- | misc_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |