Core/Groups: Remove unused (and costly) return value from Group::RemoveInvite
--HG-- branch : trunk
This commit is contained in:
@@ -276,14 +276,13 @@ bool Group::AddLeaderInvite(Player *player)
|
||||
return true;
|
||||
}
|
||||
|
||||
uint32 Group::RemoveInvite(Player *player)
|
||||
void Group::RemoveInvite(Player *player)
|
||||
{
|
||||
if (player)
|
||||
{
|
||||
m_invitees.erase(player);
|
||||
player->SetGroupInvite(NULL);
|
||||
}
|
||||
return GetMembersCount();
|
||||
}
|
||||
|
||||
void Group::RemoveAllInvites()
|
||||
|
||||
@@ -182,7 +182,7 @@ class Group
|
||||
bool LoadGroupFromDB(const uint32 &guid, QueryResult result, bool loadMembers = true);
|
||||
bool LoadMemberFromDB(uint32 guidLow, uint8 memberFlags, uint8 subgroup, uint8 roles);
|
||||
bool AddInvite(Player *player);
|
||||
uint32 RemoveInvite(Player *player);
|
||||
void RemoveInvite(Player *player);
|
||||
void RemoveAllInvites();
|
||||
bool AddLeaderInvite(Player *player);
|
||||
bool AddMember(const uint64 &guid, const char* name);
|
||||
|
||||
Reference in New Issue
Block a user