From 0f150881a12e7c7936e9672dc1a7b25778a65589 Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 16 Jan 2009 19:34:49 -0600 Subject: *Do not let target get in combat until hit by attacker. --HG-- branch : trunk --- src/game/PetAI.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/game/PetAI.cpp') diff --git a/src/game/PetAI.cpp b/src/game/PetAI.cpp index 82259cbba4d..abb62ade7da 100644 --- a/src/game/PetAI.cpp +++ b/src/game/PetAI.cpp @@ -74,7 +74,6 @@ void PetAI::AttackStart(Unit *u) if(i_pet.Attack(u,true)) { i_pet.SetInCombatWith(u); - u->SetInCombatWith(&i_pet); i_pet.clearUnitState(UNIT_STAT_FOLLOW); // TMGs call CreatureRelocation which via MoveInLineOfSight can call this function -- cgit v1.2.3