refactor(Core): remove some unused variables (#18538)

- let's get rid of some compiler warnings
This commit is contained in:
sudlud
2024-03-13 10:52:43 +01:00
committed by GitHub
parent fbfa2c21f3
commit 307c1ab09d
3 changed files with 0 additions and 13 deletions

View File

@@ -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))