1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00

NKAI: pandora as blocker object

This commit is contained in:
Andrii Danylchenko 2024-09-17 15:24:59 +03:00
parent f1386eca34
commit ec6c84b0e0

View File

@ -141,6 +141,7 @@ std::optional<const CGObjectInstance *> ObjectClusterizer::getBlocker(const AIPa
|| blocker->ID == Obj::BORDERGUARD || blocker->ID == Obj::BORDERGUARD
|| blocker->ID == Obj::BORDER_GATE || blocker->ID == Obj::BORDER_GATE
|| blocker->ID == Obj::SHIPYARD || blocker->ID == Obj::SHIPYARD
|| blocker->ID == Obj::PANDORAS_BOX
|| (blocker->ID == Obj::QUEST_GUARD && node.actionIsBlocked)) || (blocker->ID == Obj::QUEST_GUARD && node.actionIsBlocked))
{ {
return blocker; return blocker;