diff options
author | Killyana <morphone1@gmail.com> | 2020-01-01 17:19:37 +0100 |
---|---|---|
committer | Killyana <morphone1@gmail.com> | 2020-01-01 17:19:37 +0100 |
commit | a32aeceb0da5d691eb655e80eb9ea7b32fc44839 (patch) | |
tree | ba3d2d7bc88fc323bca7466fe1c507bf7ef5d104 /src/server/game/AI/CreatureAI.cpp | |
parent | 4ccf01de3947f50629c20192da3f99cb8c693b35 (diff) |
Core/Creature: Clear creature focus after an evade
Diffstat (limited to 'src/server/game/AI/CreatureAI.cpp')
-rw-r--r-- | src/server/game/AI/CreatureAI.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/AI/CreatureAI.cpp b/src/server/game/AI/CreatureAI.cpp index 5f1d13e047c..791c53dba39 100644 --- a/src/server/game/AI/CreatureAI.cpp +++ b/src/server/game/AI/CreatureAI.cpp @@ -310,6 +310,7 @@ bool CreatureAI::_EnterEvadeMode(EvadeReason /*why*/) me->SetLastDamagedTime(0); me->SetCannotReachTarget(false); me->DoNotReacquireSpellFocusTarget(); + me->SetTarget(ObjectGuid::Empty); me->GetSpellHistory()->ResetAllCooldowns(); EngagementOver(); |