fix(Core): SMART_ACTION_ESCORT_STOP now stops a repeating escort path (#26455)

Co-authored-by: sudlud <sudlud@users.noreply.github.com>
This commit is contained in:
daobashun
2026-07-24 12:10:08 +08:00
committed by GitHub
parent 46f351072e
commit a95dff8ca0

View File

@@ -338,6 +338,8 @@ void SmartAI::StopPath(uint32 DespawnTime, uint32 quest, bool fail)
if (quest)
mEscortQuestID = quest;
mCanRepeatPath = false;
SetDespawnTime(DespawnTime);
if (me->GetMotionMaster()->GetMotionSlotType(MOTION_SLOT_ACTIVE) == ESCORT_MOTION_TYPE)