mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-03 13:01:33 +02:00
CPathfinder: restore transit via garrisons
This commit is contained in:
parent
511bb54644
commit
7101083a24
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user