Changeset - r22430:1078625f8a2b
[Not reviewed]
master
0 1 0
alberth - 8 years ago 2016-09-04 12:46:29
alberth@openttd.org
(svn r27637) -Codechange: Don't use _saveload_mode for scenario loading detection.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/saveload/signs_sl.cpp
Show inline comments
 
@@ -60,7 +60,7 @@ static void Load_SIGN()
 
		}
 

	
 
		/* Signs placed in scenario editor shall now be OWNER_DEITY */
 
		if (IsSavegameVersionBefore(171) && si->owner == OWNER_NONE && _saveload_mode == SLD_LOAD_SCENARIO) {
 
		if (IsSavegameVersionBefore(171) && si->owner == OWNER_NONE && _file_to_saveload.filetype == FT_SCENARIO) {
 
			si->owner = OWNER_DEITY;
 
		}
 
	}
0 comments (0 inline, 0 general)