From 45f74604c3977e013bd654e1df980699c04d055a Mon Sep 17 00:00:00 2001 From: talamortis Date: Sun, 2 Jul 2017 11:52:39 +0100 Subject: [PATCH] these checks are not needed. --- src/game/AI/CoreAI/PetAI.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/game/AI/CoreAI/PetAI.cpp b/src/game/AI/CoreAI/PetAI.cpp index 2ff2422eb..712fb0c5f 100644 --- a/src/game/AI/CoreAI/PetAI.cpp +++ b/src/game/AI/CoreAI/PetAI.cpp @@ -100,9 +100,6 @@ void PetAI::UpdateAI(uint32 diff) Unit* owner = me->GetCharmerOrOwner(); //if Pet is in combat put player in combat - if (owner->HasAuraType(SPELL_AURA_MOD_STEALTH) || owner->HasAuraType(SPELL_AURA_FEIGN_DEATH)) - return; - else if (me->IsInCombat()) owner->IsInCombat();