mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
This commit is contained in:
parent
76d3c98b85
commit
0b3c1c7185
@ -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";
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user