From 18d1821dab63ade97da0dd0bf8b12bd7e00b89f2 Mon Sep 17 00:00:00 2001 From: EricksOliveira Date: Mon, 28 Jul 2025 08:57:19 -0300 Subject: [PATCH] Fix --- src/strategy/actions/BattleGroundTactics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/strategy/actions/BattleGroundTactics.cpp b/src/strategy/actions/BattleGroundTactics.cpp index 856b43c6..ab7cc3ac 100644 --- a/src/strategy/actions/BattleGroundTactics.cpp +++ b/src/strategy/actions/BattleGroundTactics.cpp @@ -26,7 +26,7 @@ #include "Playerbots.h" #include "PositionValue.h" #include "PvpTriggers.h" -#include "PathFinder.h" +#include "PathGenerator.h" #include "ServerFacade.h" #include "Vehicle.h" @@ -4167,7 +4167,7 @@ bool ArenaTactics::Execute(Event event) Unit* target = bot->GetVictim(); if (target && (!bot->IsWithinLOSInMap(target) || fabs(bot->GetPositionZ() - target->GetPositionZ()) > 5.0f)) { - PathFinder path(bot); + PathGenerator path(bot); path.CalculatePath(target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(), false); if (path.IsValid() && path.GetPathType() != PATHFIND_NOPATH)