diff --git a/lib/CModHandler.h b/lib/CModHandler.h index a5f746693..77fe51547 100644 --- a/lib/CModHandler.h +++ b/lib/CModHandler.h @@ -384,8 +384,11 @@ public: h & ATTACK_POINTS_DMG_MULTIPLIER_CAP; h & DEFENSE_POINT_DMG_MULTIPLIER; h & DEFENSE_POINTS_DMG_MULTIPLIER_CAP; - h & HERO_STARTING_ARMY_STACKS_COUNT_CHANCES; - h & DEFAULT_BUILDING_SET_DWELLING_CHANCES; + if(version >= 815) + { + h & HERO_STARTING_ARMY_STACKS_COUNT_CHANCES; + h & DEFAULT_BUILDING_SET_DWELLING_CHANCES; + } } } settings; diff --git a/lib/serializer/CSerializer.h b/lib/serializer/CSerializer.h index 4cd2b9587..0903f8bd8 100644 --- a/lib/serializer/CSerializer.h +++ b/lib/serializer/CSerializer.h @@ -14,7 +14,7 @@ VCMI_LIB_NAMESPACE_BEGIN -const ui32 SERIALIZATION_VERSION = 814; +const ui32 SERIALIZATION_VERSION = 815; const ui32 MINIMAL_SERIALIZATION_VERSION = 813; const std::string SAVEGAME_MAGIC = "VCMISVG";