1
0
mirror of https://github.com/vcmi/vcmi.git synced 2026-05-22 09:55:17 +02:00

Nullkiller: various fixes for town portal and other

This commit is contained in:
Andrii Danylchenko
2021-05-16 14:45:30 +03:00
committed by Andrii Danylchenko
parent 1a69a43f09
commit e95ccda5de
9 changed files with 59 additions and 26 deletions
@@ -113,7 +113,8 @@ const CGObjectInstance * ObjectClusterizer::getBlocker(const AIPath & path) cons
|| blocker->ID == Obj::QUEST_GUARD
|| blocker->ID == Obj::BORDER_GATE)
{
return blocker;
if(!isObjectPassable(blocker))
return blocker;
}
}