Changeset 211

Show
Ignore:
Timestamp:
11/19/08 13:46:51 (17 years ago)
Author:
yumileroy
Message:

[svn] Disable the follow and stay commands on charmed units or pets that have aura Bind Sight.

Original author: gvcoman
Date: 2008-11-10 22:51:37-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/PetHandler.cpp

    r200 r211  
    7979    { 
    8080        case ACT_COMMAND:                                   //0x0700 
    81             // Possessed pets are only able to attack 
    82             if (pet->isPossessed() && spellid != COMMAND_ATTACK) 
     81            // Possessed or shared vision pets are only able to attack 
     82            if ((pet->isPossessed() || pet->HasAuraType(SPELL_AURA_BIND_SIGHT)) && spellid != COMMAND_ATTACK) 
    8383                return; 
    8484