(svn r12948) -Fix [FS#1982]: all vehicles would be available when an original scenario would be played.

pull/155/head
rubidium 16 years ago
parent 5b1e423889
commit c878af4841

@ -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);

Loading…
Cancel
Save