From f9fce0128272c141bcd455093598f55b46e14c17 Mon Sep 17 00:00:00 2001 From: SaW Date: Thu, 30 Oct 2025 22:01:34 +0100 Subject: [PATCH] bot to player --- src/PlayerbotAI.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PlayerbotAI.cpp b/src/PlayerbotAI.cpp index b19c5bf9..2bad3a9f 100644 --- a/src/PlayerbotAI.cpp +++ b/src/PlayerbotAI.cpp @@ -2226,7 +2226,7 @@ uint32 PlayerbotAI::GetGroupTankNum(Player* player) bool PlayerbotAI::IsHealAssistantOfIndex(Player* player, int index) { - Group* group = bot->GetGroup(); + Group* group = player->GetGroup(); if (!group) { return false; @@ -2265,7 +2265,7 @@ bool PlayerbotAI::IsRangedDps(Player* player, bool bySpec) { return IsRanged(pla bool PlayerbotAI::IsRangedDpsAssistantOfIndex(Player* player, int index) { - Group* group = bot->GetGroup(); + Group* group = player->GetGroup(); if (!group) { return false; @@ -2304,7 +2304,7 @@ bool PlayerbotAI::IsAssistTank(Player* player) { return IsTank(player) && !IsMai bool PlayerbotAI::IsAssistTankOfIndex(Player* player, int index) { - Group* group = bot->GetGroup(); + Group* group = player->GetGroup(); if (!group) { return false;