mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
[7776] Completed implementation of CMSG_SPELLCLICK Author: arrai
For vehicles, you have to add the correct SPELL_AURA_CONTROL_VEHICLE spells to
npc_spellclick_spells, otherwise you won't be able to use them
--HG--
branch : trunk
This commit is contained in:
@@ -210,7 +210,7 @@ void Group::ConvertToRaid()
|
||||
// update quest related GO states (quest activity dependent from raid membership)
|
||||
for(member_citerator citr = m_memberSlots.begin(); citr != m_memberSlots.end(); ++citr)
|
||||
if(Player* player = objmgr.GetPlayer(citr->guid))
|
||||
player->UpdateForQuestsGO();
|
||||
player->UpdateForQuestWorldObjects();
|
||||
}
|
||||
|
||||
bool Group::AddInvite(Player *player)
|
||||
@@ -304,7 +304,7 @@ bool Group::AddMember(const uint64 &guid, const char* name)
|
||||
|
||||
// quest related GO state dependent from raid memebership
|
||||
if(isRaidGroup())
|
||||
player->UpdateForQuestsGO();
|
||||
player->UpdateForQuestWorldObjects();
|
||||
}
|
||||
|
||||
return true;
|
||||
@@ -323,7 +323,7 @@ uint32 Group::RemoveMember(const uint64 &guid, const uint8 &method)
|
||||
{
|
||||
// quest related GO state dependent from raid membership
|
||||
if(isRaidGroup())
|
||||
player->UpdateForQuestsGO();
|
||||
player->UpdateForQuestWorldObjects();
|
||||
|
||||
WorldPacket data;
|
||||
|
||||
@@ -404,7 +404,7 @@ void Group::Disband(bool hideDestroy)
|
||||
|
||||
// quest related GO state dependent from raid membership
|
||||
if(isRaidGroup())
|
||||
player->UpdateForQuestsGO();
|
||||
player->UpdateForQuestWorldObjects();
|
||||
|
||||
if(!player->GetSession())
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user