@@ -99,9 +99,15 @@ public:
h & initialArmy;
h & heroClass;
h & secSkillsInit;
- //h & specDeprecated;
- //h & specialtyDeprecated;
- h & specialty;
+ if(version >= 778)
+ {
+ h & specialty;
+ }
+ else
+ h & specDeprecated;
+ h & specialtyDeprecated;
h & spells;
h & haveSpellBook;
h & sex;
@@ -365,7 +365,8 @@ struct DLL_LINKAGE Bonus : public std::enable_shared_from_this<Bonus>
h & effectRange;
h & limiter;
h & propagator;
- h & updater;
+ h & updater;
}
template <typename Ptr>
@@ -297,7 +297,10 @@ public:
h & visitedTown;
h & boat;
h & type;
h & commander;
h & visitedObjects;
BONUS_TREE_DESERIALIZATION_FIX