oops. a slight pathfinder cock-up.

This commit is contained in:
Chris Forbes
2009-10-27 00:24:09 +13:00
parent 25ca8e3057
commit b4d75f6195
3 changed files with 31 additions and 11 deletions

View File

@@ -37,7 +37,7 @@ namespace OpenRa.Game
.Where(t => Game.IsCellBuildable(t, umt))
.Select(t => t + map.Offset);
var path = FindUnitPath(tilesInRange, DefaultEstimator(dest), umt);
var path = FindUnitPath(tilesInRange, DefaultEstimator(src), umt);
path.Reverse();
return path;
}