[svn] Disable the follow and stay commands on charmed units or pets that have aura Bind Sight.
--HG-- branch : trunk
This commit is contained in:
1 parent
943b4b68b9
commit
655d86275b
1 file changed
+2
-2
@@ -78,8 +78,8 @@ void WorldSession::HandlePetAction( WorldPacket & recv_data )
|
||||
switch(flag)
|
||||
{
|
||||
case ACT_COMMAND: //0x0700
|
||||
// Possessed pets are only able to attack
|
||||
if (pet->isPossessed() && spellid != COMMAND_ATTACK)
|
||||
// Possessed or shared vision pets are only able to attack
|
||||
if ((pet->isPossessed() || pet->HasAuraType(SPELL_AURA_BIND_SIGHT)) && spellid != COMMAND_ATTACK)
|
||||
return;
|
||||
|
||||
switch(spellid)
|
||||
|
||||
Reference in new issue
Block a user