mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 13:16:23 +00:00
NewFunction(Core/Pathing) Path End Reached (#10017)
This commit is contained in:
@@ -138,6 +138,7 @@ bool WaypointMovementGenerator<Creature>::StartMove(Creature* creature)
|
||||
if ((i_currentNode == i_path->size() - 1) && !repeating) // If that's our last waypoint
|
||||
{
|
||||
creature->GetMotionMaster()->Initialize();
|
||||
creature->AI()->PathEndReached();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user