mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/SmartAI: allow more Unit::ResumeMovement calls on JustReachedHome()
Since ResumeMovement also works on other MOTION_SLOT_DEFAULT generators (like RandomMG)
This commit is contained in:
@@ -548,8 +548,8 @@ void SmartAI::JustReachedHome()
|
||||
if (me->GetWaypointPath())
|
||||
me->GetMotionMaster()->MovePath(me->GetWaypointPath(), true);
|
||||
}
|
||||
else
|
||||
me->ResumeMovement();
|
||||
|
||||
me->ResumeMovement();
|
||||
}
|
||||
else if (formation->IsFormed())
|
||||
me->GetMotionMaster()->MoveIdle(); // wait the order of leader
|
||||
|
||||
Reference in New Issue
Block a user