Changeset 283 for trunk/src/game/PetHandler.cpp
- Timestamp:
- 11/22/08 01:55:16 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/PetHandler.cpp
r277 r283 98 98 case COMMAND_ATTACK: //spellid=1792 //ATTACK 99 99 { 100 // Can't attack if owner is pacified101 if (_player->HasAuraType(SPELL_AURA_MOD_PACIFY))102 {103 //pet->SendPetCastFail(spellid, SPELL_FAILED_PACIFIED);104 //TODO: Send proper error message to client105 return;106 }107 100 // only place where pet can be player 108 101 pet->clearUnitState(UNIT_STAT_FOLLOW);