@@ -57,7 +57,7 @@
"targetType" : "NO_TARGET",
"sounds": {
- "cast": "", // no casting sound, only obstacle placement sound
+ "cast": "" // no casting sound, only obstacle placement sound
},
"levels" : {
"base":{
@@ -61,10 +61,13 @@ public:
h & iconIndex;
h & identifier;
h & animation;
- h & appearSound;
h & appearAnimation;
- h & triggerSound;
- h & triggerAnimation;
+ if (version > 805)
+ {
+ h & appearSound;
+ h & triggerAnimation;
+ h & triggerSound;
+ }
h & allowedTerrains;
h & allowedSpecialBfields;
h & isAbsoluteObstacle;
@@ -14,7 +14,7 @@
VCMI_LIB_NAMESPACE_BEGIN
-const ui32 SERIALIZATION_VERSION = 805;
+const ui32 SERIALIZATION_VERSION = 806;
const ui32 MINIMAL_SERIALIZATION_VERSION = 805;
const std::string SAVEGAME_MAGIC = "VCMISVG";
@@ -85,7 +85,8 @@ public:
template <typename Handler> void serialize(Handler & h, const int version)
{
h & resourceName;
- h & effectName;
+ h & effectName;
h & verticalPosition;
h & pause;
}