mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
Fix serialization of ObjectClass
This commit is contained in:
@@ -263,6 +263,7 @@ public:
|
||||
|
||||
template <typename Handler> void serialize(Handler &h, const int version)
|
||||
{
|
||||
h & id;
|
||||
h & handlerName;
|
||||
h & base;
|
||||
h & objects;
|
||||
|
@@ -14,8 +14,8 @@
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
const ui32 SERIALIZATION_VERSION = 817;
|
||||
const ui32 MINIMAL_SERIALIZATION_VERSION = 813;
|
||||
const ui32 SERIALIZATION_VERSION = 818;
|
||||
const ui32 MINIMAL_SERIALIZATION_VERSION = 818;
|
||||
const std::string SAVEGAME_MAGIC = "VCMISVG";
|
||||
|
||||
class CHero;
|
||||
|
Reference in New Issue
Block a user