From 497cd60dcf9c5d6b0140ac91235f0923f8dbad64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9A=90=E5=A6=82=E4=BB=99?= <18535853+PkllonG@users.noreply.github.com> Date: Sat, 11 Jul 2026 03:28:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(Core/SmartAI):=20Fix=20SAI's=20SetFollow=20?= =?UTF-8?q?behavior=20so=20it=20doesn=E2=80=99t=20inherit=20movement=20spe?= =?UTF-8?q?ed=20(#26539)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/game/AI/SmartScripts/SmartAI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/AI/SmartScripts/SmartAI.cpp b/src/server/game/AI/SmartScripts/SmartAI.cpp index eec86a422..23d7466f5 100644 --- a/src/server/game/AI/SmartScripts/SmartAI.cpp +++ b/src/server/game/AI/SmartScripts/SmartAI.cpp @@ -1239,7 +1239,7 @@ void SmartAI::SetFollow(Unit* target, float dist, float angle, uint32 credit, ui mFollowArrivedEntry = end; mFollowArrivedAlive = !aliveState; // negate - 0 is alive mFollowCreditType = creditType; - me->GetMotionMaster()->MoveFollow(target, mFollowDist, mFollowAngle); + me->GetMotionMaster()->MoveFollow(target, mFollowDist, mFollowAngle, MOTION_SLOT_ACTIVE, true, false); } void SmartAI::StopFollow(bool complete)