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:
ccrs
2019-07-19 15:52:35 +02:00
parent bca46aa750
commit c8cb866db0

View File

@@ -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