Added option to ignore guards in pathfinder
Used for simturns contact detection, by default disabled for player pathfinding
This commit is contained in:
1 parent
f6e0f46040
commit
8303ce5d13
8 files changed
+16
-1
No files matched your search
@@ -41,6 +41,7 @@ namespace AIPathfinding
|
||||
std::shared_ptr<AINodeStorage> nodeStorage)
|
||||
:PathfinderConfig(nodeStorage, makeRuleset(cb, ai, nodeStorage)), hero(nodeStorage->getHero())
|
||||
{
|
||||
options.ignoreGuards = false;
|
||||
options.useEmbarkAndDisembark = true;
|
||||
options.useTeleportTwoWay = true;
|
||||
options.useTeleportOneWay = true;
|
||||
|
||||
Reference in new issue
Block a user