aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorccrs <ccrs@users.noreply.github.com>2017-09-03 23:10:24 +0200
committerccrs <ccrs@users.noreply.github.com>2017-09-03 23:10:24 +0200
commitc7d565739b2e4a1fbcd6bd61164510257e7ee90b (patch)
tree7d4133b3e98cd301391c9af5e7697b9226ee5204
parent4aceb7bf9196b0c83d75effdd132afb84569c963 (diff)
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
-rwxr-xr-xsrc/server/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp5
1 files changed, 1 insertions, 4 deletions
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<Creature>::LoadPath(Creature* creature)
return;
}
- _nextMoveTime.Reset(3000);
-
- if (CanMove(creature))
- StartMoveNow(creature);
+ _nextMoveTime.Reset(1000);
}
void WaypointMovementGenerator<Creature>::DoInitialize(Creature* creature)