mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 13:37:13 +00:00
Added missed part from my prev. commit.
Compile fix. Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
5364fc2847
commit
ca6e456da1
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