From c2197b0adb49c16b33b6ac80f58e7213a9de6d98 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Wed, 21 Jul 2010 16:45:45 +1200 Subject: [PATCH] Hopefully fix some of our pathing issues. Untested. --- OpenRA.Game/PathSearch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Game/PathSearch.cs b/OpenRA.Game/PathSearch.cs index cb8d4c5d1b..5815c096c1 100755 --- a/OpenRA.Game/PathSearch.cs +++ b/OpenRA.Game/PathSearch.cs @@ -91,7 +91,7 @@ namespace OpenRA if (costHere == float.PositiveInfinity) continue; - if (checkForBlocked && !mobile.CanEnterCell(newHere, ignoreBuilding, checkForBlocked)) + if (!mobile.CanEnterCell(newHere, ignoreBuilding, checkForBlocked)) continue; if (customBlock != null && customBlock(newHere))