mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
Added missed part from my prev. commit.
Compile fix. Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
61b2b3d234
commit
aae37a6dce
2 changed files with 11 additions and 9 deletions
|
|
@ -195,6 +195,16 @@ bool Group::LoadMemberFromDB(uint32 guidLow, uint8 subgroup, bool assistant)
|
|||
return true;
|
||||
}
|
||||
|
||||
void Group::ConvertToRaid()
|
||||
{
|
||||
m_groupType = GROUPTYPE_RAID;
|
||||
|
||||
_initRaidSubGroupsCounter();
|
||||
|
||||
if(!isBGGroup()) CharacterDatabase.PExecute("UPDATE groups SET isRaid = 1 WHERE leaderGuid='%u'", GUID_LOPART(m_leaderGuid));
|
||||
SendUpdate();
|
||||
}
|
||||
|
||||
bool Group::AddInvite(Player *player)
|
||||
{
|
||||
if(!player || player->GetGroupInvite() || player->GetGroup())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue