@@ -109,8 +109,7 @@ namespace OpenRA.Mods.RA.Move
|
||||
return true;
|
||||
|
||||
var blockingActors = world.ActorMap.GetUnitsAt(cell)
|
||||
// Don't fail if the unit is already in this cell
|
||||
.Where(x => x != ignoreActor && x != self)
|
||||
.Where(x => x != ignoreActor)
|
||||
// Neutral/enemy units are blockers. Allied units that are moving are not blockers.
|
||||
.Where(x => blockedByMovers || ((self.Owner.Stances[x.Owner] != Stance.Ally) || !IsMovingInMyDirection(self, x)))
|
||||
.ToList();
|
||||
|
||||
Reference in New Issue
Block a user