From 8a9a833c985e9e4ec10a13e72ceeb8194cb00ba3 Mon Sep 17 00:00:00 2001 From: EricksOliveira Date: Sun, 27 Jul 2025 19:31:54 -0300 Subject: [PATCH] fix --- 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 bebc2ed2..1fa182ca 100644 --- a/src/strategy/actions/BattleGroundTactics.cpp +++ b/src/strategy/actions/BattleGroundTactics.cpp @@ -4163,7 +4163,7 @@ bool ArenaTactics::Execute(Event event) botAI->ChangeStrategy("-buff", BOT_STATE_NON_COMBAT); // Repositioning if the target is out of line of sight - Unit* target = botAI->GetAiObject("current target"); + Unit* target = bot->GetVictim(); if (target && !bot->IsWithinLOSInMap(target)) { float x, y, z;