Core/Groups: more fixes to battlefield group stuff

This commit is contained in:
tobmaps
2011-06-28 06:43:39 +07:00
parent daf97501b9
commit 78859c9963
+1
View File
@@ -436,6 +436,7 @@ bool Group::RemoveMember(const uint64 &guid, const RemoveMethod &method /*= GROU
}
// Remove player from group in DB
if (!isBGGroup() && !isBFGroup())
CharacterDatabase.PExecute("DELETE FROM group_member WHERE memberGuid=%u", GUID_LOPART(guid));
// Reevaluate group enchanter if the leaving player had enchanting skill or the player is offline