(svn r27637) -Codechange: Don't use _saveload_mode for scenario loading detection.

This commit is contained in:
alberth 2016-09-04 12:46:29 +00:00
parent 087ed1e999
commit 3b8ede5ebe

View File

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