mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-03 02:53:48 +00:00
refactor(Core): remove some unused variables (#18538)
- let's get rid of some compiler warnings
This commit is contained in:
@@ -829,7 +829,6 @@ public:
|
||||
if (Group* EventGroup = player->GetGroup())
|
||||
{
|
||||
uint8 GroupMemberCount = 0;
|
||||
uint8 DeadMemberCount = 0;
|
||||
uint8 FailedMemberCount = 0;
|
||||
|
||||
Group::MemberSlotList const& members = EventGroup->GetMemberSlots();
|
||||
@@ -845,9 +844,6 @@ public:
|
||||
++FailedMemberCount;
|
||||
}
|
||||
++GroupMemberCount;
|
||||
|
||||
if (groupMember->isDead())
|
||||
++DeadMemberCount;
|
||||
}
|
||||
|
||||
if (GroupMemberCount == FailedMemberCount || !player->IsWithinDistInMap(me, EVENT_AREA_RADIUS))
|
||||
|
||||
Reference in New Issue
Block a user