From debe97b77a79226876c6a7a99831384a6ce3edcf Mon Sep 17 00:00:00 2001 From: ccrs Date: Sun, 3 Sep 2017 23:10:24 +0200 Subject: Core/Movement: minor correction on WaypointMovementGenerator remove the CanMove check since it will never trigger the timer is left there to prevent errors on loading such as leader being created before the other members of the formation making them skip the first movement; purely a workaround (cherry picked from commit c7d565739b2e4a1fbcd6bd61164510257e7ee90b) --- .../game/Movement/MovementGenerators/WaypointMovementGenerator.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/server/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp b/src/server/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp index 56d44672cfc..3feb4bfdb62 100644 --- a/src/server/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp +++ b/src/server/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp @@ -62,10 +62,7 @@ void WaypointMovementGenerator::LoadPath(Creature* creature) return; } - _nextMoveTime.Reset(3000); - - if (CanMove(creature)) - StartMoveNow(creature); + _nextMoveTime.Reset(1000); } void WaypointMovementGenerator::DoInitialize(Creature* creature) -- cgit v1.2.3