Core/SAI: add missing SMART_EVENT_REACHED_HOME when finished evading while on SMART_ESCORT
(cherry picked from commit 6081e21a450ce7c403765634eed56ceab9d25252)
This commit is contained in:
@@ -955,6 +955,7 @@ void SmartAI::UpdatePath(uint32 diff)
|
||||
{
|
||||
_OOCReached = false;
|
||||
RemoveEscortState(SMART_ESCORT_RETURNING);
|
||||
GetScript()->ProcessEventsFor(SMART_EVENT_REACHED_HOME);
|
||||
if (!HasEscortState(SMART_ESCORT_PAUSED))
|
||||
ResumePath();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user