mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-06 06:47:53 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user