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:
@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user