mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Stack instance now stores non-serialized pointer to army
This commit is contained in:
@@ -37,8 +37,9 @@ enum class ESerializationVersion : int32_t
|
||||
MAP_HEADER_DISPOSED_HEROES, // map header contains disposed heroes list
|
||||
NO_RAW_POINTERS_IN_SERIALIZER, // large rework that removed all non-owning pointers from serializer
|
||||
STACK_INSTANCE_EXPERIENCE_FIX, // stack experience is stored as total, not as average
|
||||
STACK_INSTANCE_ARMY_FIX, // remove serialization of army that owns stack instance
|
||||
|
||||
CURRENT = STACK_INSTANCE_EXPERIENCE_FIX,
|
||||
CURRENT = STACK_INSTANCE_ARMY_FIX,
|
||||
};
|
||||
|
||||
static_assert(ESerializationVersion::MINIMAL <= ESerializationVersion::CURRENT, "Invalid serialization version definition!");
|
||||
|
||||
Reference in New Issue
Block a user