From e6bc8fa3d89248ef471f40736e5b02b8ea07bf33 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 4 May 2008 22:38:18 +0000 Subject: [PATCH] (svn r12948) -Fix [FS#1982]: all vehicles would be available when an original scenario would be played. --- src/openttd.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/openttd.cpp b/src/openttd.cpp index 6a6ec5a135..73ebf1900b 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -884,6 +884,9 @@ void SwitchMode(int new_mode) SetDParamStr(0, GetSaveLoadErrorString()); ShowErrorMessage(INVALID_STRING_ID, STR_012D, 0, 0); } else { + if (_saveload_mode == SLD_LOAD_SCENARIO) { + StartupEngines(); + } /* Update the local player for a loaded game. It is either always * player #1 (eg 0) or in the case of a dedicated server a spectator */ SetLocalPlayer(_network_dedicated ? PLAYER_SPECTATOR : PLAYER_FIRST);