diff --git a/lib/HeroBonus.cpp b/lib/HeroBonus.cpp index db2671c2d..df749ad8c 100644 --- a/lib/HeroBonus.cpp +++ b/lib/HeroBonus.cpp @@ -1221,6 +1221,8 @@ const CCreature * retrieveCreature(const CBonusSystemNode *node) { case CBonusSystemNode::CREATURE: return (static_cast(node)); + case CBonusSystemNode::STACK_BATTLE: + return (static_cast(node))->type; default: const CStackInstance *csi = retreiveStackInstance(node); if(csi)