From c816281e091abc6a46835df74572bf99fdf39798 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 22 Dec 2009 08:34:40 +0000 Subject: [PATCH] (svn r18598) -Fix [FS#3402]: also cancel the save-pause when loading a savegame as scenario --- src/openttd.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/openttd.cpp b/src/openttd.cpp index 46999783c4..300f144623 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -1023,6 +1023,8 @@ void SwitchToMode(SwitchMode new_mode) if (SafeSaveOrLoad(_file_to_saveload.name, _file_to_saveload.mode, GM_EDITOR, NO_DIRECTORY)) { SetLocalCompany(OWNER_NONE); _settings_newgame.game_creation.starting_year = _cur_year; + /* Cancel the saveload pausing */ + DoCommandP(0, PM_PAUSED_SAVELOAD, 0, CMD_PAUSE); } else { SetDParamStr(0, GetSaveLoadErrorString()); ShowErrorMessage(STR_JUST_RAW_STRING, INVALID_STRING_ID, 0, 0);