Changeset 284 for trunk/src/game/PetHandler.cpp
- Timestamp:
- 11/22/08 01:55:20 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/PetHandler.cpp
r283 r284 98 98 case COMMAND_ATTACK: //spellid=1792 //ATTACK 99 99 { 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 } 100 107 // only place where pet can be player 101 108 pet->clearUnitState(UNIT_STAT_FOLLOW);