diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index a54c5737..71f7f5ee 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -931,10 +931,10 @@ uint32 Unit::DealDamage(Unit* victim, uint32 damage, CleanDamage const* cleanDam else if (IsAIEnabled) ToCreature()->AI()->DamageDealt(victim, damage, damagetype); - if (victim->GetTypeId() == TYPEID_PLAYER && this != victim) + if (victim->GetTypeId() == TYPEID_PLAYER) { // Signal to pets that their owner was attacked - except when DOT. - if (damagetype != DOT) + if (this != victim && damagetype != DOT) { Pet* pet = victim->ToPlayer()->GetPet();