1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00
This commit is contained in:
AlexVinS 2017-01-26 10:44:30 +03:00
parent 76d3c98b85
commit 0b3c1c7185
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -111,6 +111,8 @@ public:
template <typename Handler> void serialize(Handler & h, const int version)
{
h & projectile & hit & cast;
if(version >= 762)
h & affect;
}
std::string selectProjectile(const double angle) const;