Core/Groups: Use the proper RemoveMethod when player leaves a group

--HG--
branch : trunk
This commit is contained in:
Spp
2010-10-19 18:32:04 +02:00
parent db04f13777
commit 959ef0878a
2 changed files with 2 additions and 2 deletions
@@ -387,7 +387,7 @@ void WorldSession::HandleGroupDisbandOpcode(WorldPacket & /*recv_data*/)
// everything's fine, do it
SendPartyResult(PARTY_OP_LEAVE, GetPlayer()->GetName(), ERR_PARTY_RESULT_OK);
GetPlayer()->RemoveFromGroup();
GetPlayer()->RemoveFromGroup(GROUP_REMOVEMETHOD_LEAVE);
}
void WorldSession::HandleLootMethodOpcode(WorldPacket & recv_data)