From 1db154f916834bb150d2ef302f2ec423c36ced4c Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Thu, 14 Feb 2019 09:26:31 +0100 Subject: [PATCH] Core/SAI: restore PauseMovement call when a npc starts attacking a victim but don't enforce a stopMovement call to keep the Death Grip fix working --- src/server/game/AI/SmartScripts/SmartAI.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/game/AI/SmartScripts/SmartAI.cpp b/src/server/game/AI/SmartScripts/SmartAI.cpp index 12b6ee3bb35..eb798f25276 100644 --- a/src/server/game/AI/SmartScripts/SmartAI.cpp +++ b/src/server/game/AI/SmartScripts/SmartAI.cpp @@ -673,6 +673,7 @@ void SmartAI::AttackStart(Unit* who) if (who && me->Attack(who, mCanAutoAttack)) { me->GetMotionMaster()->Clear(MOTION_SLOT_ACTIVE); + me->PauseMovement(0, 0, false); if (mCanCombatMove) {