Allow units to give way when path is blocked by oncoming unit.
This commit is contained in:
@@ -231,7 +231,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
if (IsTraitDisabled)
|
||||
return false;
|
||||
|
||||
if (Info.AttackRequiresEnteringCell && (positionable == null || !positionable.CanEnterCell(t.Actor.Location, null, false)))
|
||||
if (Info.AttackRequiresEnteringCell && (positionable == null || !positionable.CanEnterCell(t.Actor.Location, null, BlockedByActor.None)))
|
||||
return false;
|
||||
|
||||
// PERF: Avoid LINQ.
|
||||
|
||||
Reference in New Issue
Block a user