AlexVinS 9 years ago
parent
commit
36121696ca
1 changed files with 10 additions and 3 deletions
  1. 10 3
      lib/mapping/CMap.h

+ 10 - 3
lib/mapping/CMap.h

@@ -124,7 +124,11 @@ struct DLL_LINKAGE EventCondition
 	template <typename Handler>
 	template <typename Handler>
 	void serialize(Handler & h, const int version)
 	void serialize(Handler & h, const int version)
 	{
 	{
-		h & object & value & objectType & position & condition;
+		h & object;
+		h & value;
+		h & objectType;
+		h & position;
+		h & condition;
 	}
 	}
 };
 };
 
 
@@ -171,7 +175,10 @@ struct DLL_LINKAGE TriggeredEvent
 	template <typename Handler>
 	template <typename Handler>
 	void serialize(Handler & h, const int version)
 	void serialize(Handler & h, const int version)
 	{
 	{
-		h & identifier & trigger & description & onFulfill & effect;
+		h & identifier;
+		h & trigger;
+		h & description;
+		h & onFulfill & effect;
 	}
 	}
 };
 };
 
 
@@ -207,7 +214,7 @@ struct DLL_LINKAGE DisposedHero
 
 
 namespace EMapFormat
 namespace EMapFormat
 {
 {
-enum EMapFormat
+enum EMapFormat: ui8
 {
 {
 	INVALID = 0,
 	INVALID = 0,
 	//    HEX     DEC
 	//    HEX     DEC