forked from mirror/OpenTTD
(svn r27640) -Codechange: Remove another use of _saveload_mode in the loading code.
This commit is contained in:
@@ -1097,7 +1097,7 @@ void SwitchToMode(SwitchMode new_mode)
|
||||
SetDParamStr(0, GetSaveLoadErrorString());
|
||||
ShowErrorMessage(STR_JUST_RAW_STRING, INVALID_STRING_ID, WL_ERROR);
|
||||
} else {
|
||||
if (_saveload_mode == SLD_LOAD_SCENARIO) {
|
||||
if (_file_to_saveload.filetype == FT_SCENARIO) {
|
||||
/* Reset engine pool to simplify changing engine NewGRFs in scenario editor. */
|
||||
EngineOverrideManager::ResetToCurrentNewGRFConfig();
|
||||
}
|
||||
|
Reference in New Issue
Block a user