Core/Spells: Implemented SUMMON_PROP_FLAG_PERSONAL_GROUP_SPAWN
This commit is contained in:
1 parent
ddb50c2e3d
commit
0f02c6a699
5 files changed
+34
-5
No files matched your search
@@ -23302,6 +23302,19 @@ void Player::ClearComboPoints()
|
||||
m_comboTarget.Clear();
|
||||
}
|
||||
|
||||
bool Player::IsInGroup(ObjectGuid groupGuid) const
|
||||
{
|
||||
if (Group const* group = GetGroup())
|
||||
if (group->GetGUID() == groupGuid)
|
||||
return true;
|
||||
|
||||
if (Group const* group = GetOriginalGroup())
|
||||
if (group->GetGUID() == groupGuid)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
void Player::SetGroup(Group* group, int8 subgroup)
|
||||
{
|
||||
if (group == nullptr)
|
||||
|
||||
Reference in new issue
Block a user