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:
committed by
Andrii Danylchenko
parent
1a69a43f09
commit
e95ccda5de
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user