Hopefully fix some of our pathing issues. Untested.

This commit is contained in:
Paul Chote
2010-07-21 16:45:45 +12:00
parent 222b29cec6
commit c2197b0adb

View File

@@ -91,7 +91,7 @@ namespace OpenRA
if (costHere == float.PositiveInfinity) if (costHere == float.PositiveInfinity)
continue; continue;
if (checkForBlocked && !mobile.CanEnterCell(newHere, ignoreBuilding, checkForBlocked)) if (!mobile.CanEnterCell(newHere, ignoreBuilding, checkForBlocked))
continue; continue;
if (customBlock != null && customBlock(newHere)) if (customBlock != null && customBlock(newHere))