Changed the harvester heuristic so that now takes into account the distance from the initial search location. This makes harvesters somewhat more "intelligent" and gather nearer resources. Also solved several regressions introduced in the recent changes in the Pathfinder

This commit is contained in:
David Jiménez
2015-03-08 11:28:48 +01:00
parent 5fa7e50c8e
commit ea32c20450
4 changed files with 23 additions and 6 deletions

View File

@@ -60,7 +60,6 @@ namespace OpenRA.Mods.Common.Pathfinder
return null;
}
cached.Tick = world.WorldTick;
return cached.Result;
}