1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Lighthouse / flaggable objects now has dedicated bonus system node

this alows to remove multiple hacks from lighthouse logic
This commit is contained in:
Ivan Savenko
2025-05-13 17:07:58 +03:00
parent 716da918f8
commit b37a3dc63c
7 changed files with 58 additions and 63 deletions

View File

@@ -40,8 +40,9 @@ enum class ESerializationVersion : int32_t
STACK_INSTANCE_ARMY_FIX, // remove serialization of army that owns stack instance
STORE_UID_COUNTER_IN_CMAP, // fix crash caused by conflicting instanceName after loading game
REWARDABLE_EXTENSIONS, // new functionality for rewardable objects
FLAGGABLE_BONUS_SYSTEM_NODE, // flaggable objects now contain bonus system node
CURRENT = REWARDABLE_EXTENSIONS,
CURRENT = FLAGGABLE_BONUS_SYSTEM_NODE,
};
static_assert(ESerializationVersion::MINIMAL <= ESerializationVersion::CURRENT, "Invalid serialization version definition!");