Changeset - r22433:3130481e7a32
[Not reviewed]
master
0 1 0
alberth - 8 years ago 2016-09-04 12:48:28
alberth@openttd.org
(svn r27640) -Codechange: Remove another use of _saveload_mode in the loading code.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/openttd.cpp
Show inline comments
 
@@ -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();
 
				}
0 comments (0 inline, 0 general)