Bring PathSearch in line with the current code style.

This commit is contained in:
Paul Chote
2014-05-17 13:45:11 +12:00
parent 2026747f2a
commit 97a61273dd
3 changed files with 148 additions and 132 deletions

View File

@@ -119,7 +119,7 @@ namespace OpenRA.Mods.RA.Activities
var path = pathFinder.FindBidiPath(
PathSearch.FromPoints(self.World, mobile.Info, self, searchCells, loc, true),
PathSearch.FromPoint(self.World, mobile.Info, self, loc, targetPosition, true).InReverse()
PathSearch.FromPoint(self.World, mobile.Info, self, loc, targetPosition, true).Reverse()
);
inner = mobile.MoveTo(() => path);