mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Fix serialization
This commit is contained in:
parent
b89e8a9dfe
commit
b8b1e07621
@ -63,7 +63,7 @@ public:
|
||||
h & animation;
|
||||
h & appearAnimation;
|
||||
h & triggerAnimation;
|
||||
if (version > 805)
|
||||
if (version > 806)
|
||||
{
|
||||
h & appearSound;
|
||||
h & triggerSound;
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
const ui32 SERIALIZATION_VERSION = 806;
|
||||
const ui32 SERIALIZATION_VERSION = 807;
|
||||
const ui32 MINIMAL_SERIALIZATION_VERSION = 805;
|
||||
const std::string SAVEGAME_MAGIC = "VCMISVG";
|
||||
|
||||
|
@ -85,7 +85,7 @@ public:
|
||||
template <typename Handler> void serialize(Handler & h, const int version)
|
||||
{
|
||||
h & resourceName;
|
||||
if (version > 805)
|
||||
if (version > 806)
|
||||
h & effectName;
|
||||
h & verticalPosition;
|
||||
h & pause;
|
||||
|
Loading…
x
Reference in New Issue
Block a user