From c7d565739b2e4a1fbcd6bd61164510257e7ee90b 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 --- .../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 a6d1d3b93d8..cf50e273975 100755 --- a/src/server/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp +++ b/src/server/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp @@ -58,10 +58,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