From 684910a230b2e8e780ad24bc0c4eece835bc249a Mon Sep 17 00:00:00 2001 From: Treeston Date: Tue, 13 Oct 2020 23:44:37 +0200 Subject: AI/CreatureAI: Properly update Victim even while spell focusing --- src/server/game/AI/CreatureAI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server') diff --git a/src/server/game/AI/CreatureAI.cpp b/src/server/game/AI/CreatureAI.cpp index 0a3b87efd30..08f98a3aa68 100644 --- a/src/server/game/AI/CreatureAI.cpp +++ b/src/server/game/AI/CreatureAI.cpp @@ -251,7 +251,7 @@ bool CreatureAI::UpdateVictim() if (!me->HasReactState(REACT_PASSIVE)) { if (Unit* victim = me->SelectVictim()) - if (!me->HasSpellFocus() && victim != me->GetVictim()) + if (victim != me->GetVictim()) AttackStart(victim); return me->GetVictim() != nullptr; -- cgit v1.2.3