mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
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
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user