diff options
author | ccrs <ccrs@users.noreply.github.com> | 2019-08-03 17:45:06 +0200 |
---|---|---|
committer | ccrs <ccrs@users.noreply.github.com> | 2019-08-03 17:45:06 +0200 |
commit | ec9f15a5fff7830bf2aebc517654784a6d54bb74 (patch) | |
tree | 913351867c6e4153321b1bdb7eb0eadb8055bbb0 /src/server/game/AI/CreatureAI.cpp | |
parent | 7e929f532e3dc471dcb8d036a4757c8c525d8e6f (diff) |
Core/Unit: rename IsFocusing method
Workaround prework till actual facing system rework arrives
Diffstat (limited to 'src/server/game/AI/CreatureAI.cpp')
-rw-r--r-- | src/server/game/AI/CreatureAI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/CreatureAI.cpp b/src/server/game/AI/CreatureAI.cpp index 5c87fc8806d..c03d848275d 100644 --- a/src/server/game/AI/CreatureAI.cpp +++ b/src/server/game/AI/CreatureAI.cpp @@ -249,7 +249,7 @@ bool CreatureAI::UpdateVictim() if (!me->HasReactState(REACT_PASSIVE)) { if (Unit* victim = me->SelectVictim()) - if (!me->IsFocusing(nullptr, true) && victim != me->GetVictim()) + if (!me->HandleSpellFocus(nullptr, true) && victim != me->GetVictim()) AttackStart(victim); return me->GetVictim() != nullptr; |