|
@@ -62,6 +62,7 @@ static void loadVL(const SlxiSubChunkInf
|
|
|
static uint32 saveVL(const SlxiSubChunkInfo* info, bool dry_run);
|
|
|
|
|
|
const SlxiSubChunkInfo _sl_xv_sub_chunk_infos[] = {
|
|
|
// it's necessary to keep 'ginever' here - changing it would break save compatibility
|
|
|
{ XSLFI_VERSION_LABEL, XSCF_IGNORABLE_ALL, 1, 1, "version_label", saveVL, loadVL, nullptr },
|
|
|
{ XSLFI_PATCHPACK_MAJOR_VERSION, XSCF_NULL, 6, 6, "ginever_patchpack_version", nullptr, nullptr, nullptr },
|
|
|
{ XSLFI_DAYLENGTH, XSCF_NULL, 1, 1, "ginever_daylength", nullptr, nullptr, nullptr },
|
|
@@ -396,7 +397,7 @@ void SlXvCheckSpecialSavegameVersionsB()
|
|
|
Debug(sl, 1, "This doesn't appear to be a patchpack save");
|
|
|
_load_check_data.save_version_label = _sl_xv_version_label;
|
|
|
|
|
|
// now we have to restore the original OTTD invalid save version check for non-Ginever patchpacks since we had to previously disable it
|
|
|
// now we have to restore the original OTTD invalid save version to check for other patchpacks since we had to previously disable it
|
|
|
if (original_version >= SLV_START_PATCHPACKS && original_version < SLV_END_PATCHPACKS) SlError(STR_GAME_SAVELOAD_ERROR_PATCHPACK);
|
|
|
}
|
|
|
|