From 1f7b831422afdd7dcdbb8156f1f619aeaf2c173c Mon Sep 17 00:00:00 2001 From: SaW Date: Wed, 19 Nov 2025 21:34:54 +0100 Subject: [PATCH] Slots --- src/PlayerbotAI.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/PlayerbotAI.cpp b/src/PlayerbotAI.cpp index 5a0e38c0..13a295f0 100644 --- a/src/PlayerbotAI.cpp +++ b/src/PlayerbotAI.cpp @@ -2229,7 +2229,9 @@ bool PlayerbotAI::IsHealAssistantOfIndex(Player* player, int index) if (!group) return false; + Group::MemberSlotList const& slots = group->GetMemberSlots(); int counter = 0; + for (GroupReference* ref = group->GetFirstMember(); ref; ref = ref->next()) { Player* member = ref->GetSource(); @@ -2264,7 +2266,9 @@ bool PlayerbotAI::IsRangedDpsAssistantOfIndex(Player* player, int index) if (!group) return false; + Group::MemberSlotList const& slots = group->GetMemberSlots(); int counter = 0; + for (GroupReference* ref = group->GetFirstMember(); ref; ref = ref->next()) { Player* member = ref->GetSource(); @@ -2299,7 +2303,9 @@ bool PlayerbotAI::IsAssistTankOfIndex(Player* player, int index) if (!group) return false; + Group::MemberSlotList const& slots = group->GetMemberSlots(); int counter = 0; + for (GroupReference* ref = group->GetFirstMember(); ref; ref = ref->next()) { Player* member = ref->GetSource();