mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
CPathfinder: restore transit via garrisons
This commit is contained in:
@@ -395,6 +395,11 @@ bool CPathfinder::isMovementAfterDestPossible() const
|
||||
/// Transit over whirlpools only allowed when hero protected
|
||||
return true;
|
||||
}
|
||||
else if(dtObj->ID == Obj::GARRISON || dtObj->ID == Obj::GARRISON2)
|
||||
{
|
||||
/// Transit via unguarded garrisons is always possible
|
||||
return true;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user