Code/Groups: use enum as parameter in Group::RemoveMember

--HG--
branch : trunk
This commit is contained in:
Spp
2010-09-10 13:37:55 +02:00
parent 279d40efdc
commit 9e9c39244b
5 changed files with 13 additions and 7 deletions
@@ -995,7 +995,7 @@ void Battleground::RemovePlayerAtLeave(uint64 guid, bool Transport, bool SendPac
// remove from raid group if player is member
if (Group *group = GetBgRaid(team))
{
if (!group->RemoveMember(guid, 0)) // group was disbanded
if (!group->RemoveMember(guid)) // group was disbanded
{
SetBgRaid(team, NULL);
delete group;