mirror of https://github.com/OpenTTD/OpenTTD
(svn r27637) -Codechange: Don't use _saveload_mode for scenario loading detection.
parent
087ed1e999
commit
3b8ede5ebe
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue