mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-19 21:10:12 +02:00
Save compatibility with main branch
This commit is contained in:
parent
5a7eed01da
commit
063b8732ff
@ -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;
|
||||
if (version > 805)
|
||||
h & effectName;
|
||||
h & verticalPosition;
|
||||
h & pause;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user