bridge pathing works

This commit is contained in:
Chris Forbes
2010-01-19 11:49:01 +13:00
parent 500772519d
commit 0aeef8c3f7
5 changed files with 21 additions and 15 deletions

View File

@@ -56,7 +56,6 @@ namespace OpenRa
continue;
var custom = Game.world.customTerrain[newHere.X, newHere.Y];
if (custom != null) throw new NotImplementedException();
var costHere = (custom != null) ? custom.GetCost(newHere, umt) : passableCost[(int)umt][newHere.X, newHere.Y];
if (costHere == float.PositiveInfinity)