1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-05 00:49:09 +02:00

Remove save compatibility with 1.5.X

This commit is contained in:
Ivan Savenko
2025-03-18 11:35:15 +00:00
parent 81759143f4
commit eb3b51a6cf
27 changed files with 86 additions and 542 deletions

View File

@ -194,13 +194,8 @@ struct DLL_LINKAGE Configuration
h & canRefuse;
h & showScoutedPreview;
h & infoWindowType;
if (h.version >= Handler::Version::REWARDABLE_BANKS)
{
h & coastVisitable;
h & guardsLayout;
}
else
coastVisitable = false;
h & coastVisitable;
h & guardsLayout;
}
};

View File

@ -129,8 +129,7 @@ struct DLL_LINKAGE Reward final
h & removeObject;
h & manaPercentage;
h & movePercentage;
if (h.version >= Handler::Version::REWARDABLE_GUARDS)
h & guards;
h & guards;
h & heroExperience;
h & heroLevel;
h & manaDiff;