Browse Source

updated serialization version to 781

Henning Koehler 7 years ago
parent
commit
9850e7254e
4 changed files with 4 additions and 4 deletions
  1. 1 1
      lib/CHeroHandler.h
  2. 1 1
      lib/HeroBonus.h
  3. 1 1
      lib/mapObjects/CGHeroInstance.h
  4. 1 1
      lib/serializer/CSerializer.h

+ 1 - 1
lib/CHeroHandler.h

@@ -99,7 +99,7 @@ public:
 		h & initialArmy;
 		h & heroClass;
 		h & secSkillsInit;
-		if(version >= 778)
+		if(version >= 781)
 		{
 			h & specialty;
 		}

+ 1 - 1
lib/HeroBonus.h

@@ -366,7 +366,7 @@ struct DLL_LINKAGE Bonus : public std::enable_shared_from_this<Bonus>
 		h & effectRange;
 		h & limiter;
 		h & propagator;
-		if(version >= 778)
+		if(version >= 781)
 			h & updater;
 	}
 

+ 1 - 1
lib/mapObjects/CGHeroInstance.h

@@ -296,7 +296,7 @@ public:
 		h & visitedTown;
 		h & boat;
 		h & type;
-		if(version < 778)
+		if(version < 781)
 		{
 			std::vector<HeroSpecial*> specialtyDeprecated;
 			h & specialtyDeprecated;

+ 1 - 1
lib/serializer/CSerializer.h

@@ -12,7 +12,7 @@
 #include "../ConstTransitivePtr.h"
 #include "../GameConstants.h"
 
-const ui32 SERIALIZATION_VERSION = 780;
+const ui32 SERIALIZATION_VERSION = 781;
 const ui32 MINIMAL_SERIALIZATION_VERSION = 753;
 const std::string SAVEGAME_MAGIC = "VCMISVG";