mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
Remove save compatibility with 1.5.X
This commit is contained in:
@ -171,21 +171,13 @@ public:
|
||||
h & day;
|
||||
h & map;
|
||||
h & players;
|
||||
if (h.version < Handler::Version::PLAYER_STATE_OWNED_OBJECTS)
|
||||
generateOwnedObjectsAfterDeserialize();
|
||||
h & teams;
|
||||
h & heroesPool;
|
||||
h & globalEffects;
|
||||
if (h.version < Handler::Version::REMOVE_LIB_RNG)
|
||||
{
|
||||
std::string oldStateOfRNG;
|
||||
h & oldStateOfRNG;
|
||||
}
|
||||
h & currentRumor;
|
||||
h & campaign;
|
||||
h & allocatedArtifacts;
|
||||
if (h.version >= Handler::Version::STATISTICS)
|
||||
h & statistic;
|
||||
h & statistic;
|
||||
|
||||
BONUS_TREE_DESERIALIZATION_FIX
|
||||
}
|
||||
@ -213,8 +205,6 @@ private:
|
||||
void initVisitingAndGarrisonedHeroes();
|
||||
void initCampaign();
|
||||
|
||||
void generateOwnedObjectsAfterDeserialize();
|
||||
|
||||
// ----- bonus system handling -----
|
||||
|
||||
void buildBonusSystemTree();
|
||||
|
Reference in New Issue
Block a user