From b8c0a54f92dfe43539e9db80cf88ba73816849b5 Mon Sep 17 00:00:00 2001 From: EricksOliveira Date: Mon, 28 Jul 2025 09:03:20 -0300 Subject: [PATCH] .. --- src/strategy/actions/BattleGroundTactics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strategy/actions/BattleGroundTactics.cpp b/src/strategy/actions/BattleGroundTactics.cpp index ab7cc3ac..dfd50bf7 100644 --- a/src/strategy/actions/BattleGroundTactics.cpp +++ b/src/strategy/actions/BattleGroundTactics.cpp @@ -4170,7 +4170,7 @@ bool ArenaTactics::Execute(Event event) PathGenerator path(bot); path.CalculatePath(target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(), false); - if (path.IsValid() && path.GetPathType() != PATHFIND_NOPATH) + if (path.GetPathType() != PATHFIND_NOPATH) { float x, y, z; target->GetPosition(x, y, z);