(svn r27637) -Codechange: Don't use _saveload_mode for scenario loading detection.
This commit is contained in:
@@ -60,7 +60,7 @@ static void Load_SIGN()
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Signs placed in scenario editor shall now be OWNER_DEITY */
|
/* 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;
|
si->owner = OWNER_DEITY;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user