Hopefully fix some of our pathing issues. Untested.
This commit is contained in:
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user