From a13f9ea3eb316c8d425d43b626e29ff522071a8a Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sun, 21 Apr 2013 13:58:10 +1200 Subject: [PATCH] Revert "Fix bogus pathability check." This reverts commit 8676562d4712868478f95846fbdf08f8fe509647. --- OpenRA.Mods.RA/Move/Mobile.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OpenRA.Mods.RA/Move/Mobile.cs b/OpenRA.Mods.RA/Move/Mobile.cs index 05aa0567f0..8fab43952b 100755 --- a/OpenRA.Mods.RA/Move/Mobile.cs +++ b/OpenRA.Mods.RA/Move/Mobile.cs @@ -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();