Changeset 191 for trunk/src/game/PetHandler.cpp
- Timestamp:
- 11/19/08 13:44:57 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/PetHandler.cpp
r174 r191 105 105 return; 106 106 107 if(pet->getVictim())108 pet->AttackStop();109 110 107 if(pet->GetTypeId() != TYPEID_PLAYER) 111 108 { … … 124 121 else // charmed player 125 122 { 123 if(pet->getVictim() && pet->getVictim() != TargetUnit) 124 pet->AttackStop(); 125 126 126 pet->Attack(TargetUnit,true); 127 127 pet->SendPetAIReaction(guid1);