mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
NKAI: improve boat handling by object graph, a set of fixes
This commit is contained in:
@@ -28,7 +28,7 @@ namespace AIPathfinding
|
||||
bool allowBypassObjects)
|
||||
{
|
||||
std::vector<std::shared_ptr<IPathfindingRule>> rules = {
|
||||
std::make_shared<AILayerTransitionRule>(cb, ai, nodeStorage),
|
||||
std::make_shared<AILayerTransitionRule>(cb, ai, nodeStorage, allowBypassObjects),
|
||||
std::make_shared<DestinationActionRule>(),
|
||||
std::make_shared<AIMovementToDestinationRule>(nodeStorage, allowBypassObjects),
|
||||
std::make_shared<MovementCostRule>(),
|
||||
|
||||
Reference in New Issue
Block a user