From 86390f90fd3a805d7d58443b9924deac6f8acb8a Mon Sep 17 00:00:00 2001 From: kadeshar Date: Sun, 6 Jul 2025 13:38:15 +0200 Subject: [PATCH] - Fixed bug with not respecting InstantFlightPaths config (#1410) --- src/strategy/actions/TaxiAction.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/strategy/actions/TaxiAction.cpp b/src/strategy/actions/TaxiAction.cpp index 965a2f79..91a42c4b 100644 --- a/src/strategy/actions/TaxiAction.cpp +++ b/src/strategy/actions/TaxiAction.cpp @@ -73,7 +73,7 @@ bool TaxiAction::Execute(Event event) { if (Creature* npcPtr = ObjectAccessor::GetCreature(*bot, npcGuid)) if (!movement.taxiNodes.empty()) - bot->ActivateTaxiPathTo(movement.taxiNodes, npcPtr); + bot->ActivateTaxiPathTo(movement.taxiNodes, npcPtr, 0); }, delay); botAI->SetNextCheckDelay(delay + 50); @@ -114,7 +114,7 @@ bool TaxiAction::Execute(Event event) return bot->ActivateTaxiPathTo({entry->from, entry->to}, npc, 0); } - if (!movement.taxiNodes.empty() && !bot->ActivateTaxiPathTo(movement.taxiNodes, npc)) + if (!movement.taxiNodes.empty() && !bot->ActivateTaxiPathTo(movement.taxiNodes, npc, 0)) { movement.taxiNodes.clear(); movement.Set(nullptr);