1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-09-16 09:26:28 +02:00

Simplify Necromancy code, update docs

This commit is contained in:
Ivan Savenko
2025-06-11 12:57:48 +03:00
parent 0e2463f9c4
commit d2178f8831
3 changed files with 73 additions and 71 deletions

View File

@@ -115,6 +115,7 @@ static void loadBonusSubtype(BonusSubtypeID & subtype, BonusType type, const Jso
case BonusType::HATE:
case BonusType::SUMMON_GUARDIANS:
case BonusType::MANUAL_CONTROL:
case BonusType::SKELETON_TRANSFORMER_TARGET:
{
LIBRARY->identifiers()->requestIdentifier( "creature", node, [&subtype](int32_t identifier)
{