diff options
Diffstat (limited to 'src/game/PossessedAI.cpp')
| -rw-r--r-- | src/game/PossessedAI.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/PossessedAI.cpp b/src/game/PossessedAI.cpp index b66a648294f..6b803303185 100644 --- a/src/game/PossessedAI.cpp +++ b/src/game/PossessedAI.cpp @@ -24,9 +24,12 @@ void PossessedAI::AttackStart(Unit *u)
{
- if( i_pet.getVictim() || !u )
+ if( !u )
return;
+ if (i_pet.getVictim() && u != i_pet.getVictim())
+ i_pet.AttackStop();
+
if(i_pet.Attack(u, true))
i_victimGuid = u->GetGUID();
|
