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:
parent
46f351072e
commit
a95dff8ca0
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue