Show
Ignore:
Timestamp:
11/22/08 01:55:20 (17 years ago)
Author:
yumileroy
Message:

Merge with 284 (54b0e67d97fe).

Original author: megamage
Date: 2008-11-21 19:49:54-06:00

Files:
1 modified

Legend:

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

    r283 r284  
    9898                case COMMAND_ATTACK:                        //spellid=1792  //ATTACK 
    9999                { 
     100                    // Can't attack if owner is pacified 
     101                    if (_player->HasAuraType(SPELL_AURA_MOD_PACIFY)) 
     102                    { 
     103                        //pet->SendPetCastFail(spellid, SPELL_FAILED_PACIFIED); 
     104                        //TODO: Send proper error message to client 
     105                        return; 
     106                    } 
    100107                    // only place where pet can be player 
    101108                    pet->clearUnitState(UNIT_STAT_FOLLOW);