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))