From c27ef3542b8c3bc89c2b20be5b886a8036b46709 Mon Sep 17 00:00:00 2001 From: TrullyONE Date: Fri, 19 Dec 2008 12:14:31 +0200 Subject: *Prevents creature skipping next waypoint after Waypoint Movement is reset. --HG-- branch : trunk --- src/game/WaypointMovementGenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/WaypointMovementGenerator.cpp') diff --git a/src/game/WaypointMovementGenerator.cpp b/src/game/WaypointMovementGenerator.cpp index 42212113f61..71d05d073d2 100644 --- a/src/game/WaypointMovementGenerator.cpp +++ b/src/game/WaypointMovementGenerator.cpp @@ -85,7 +85,7 @@ bool WaypointMovementGenerator::GetDestination(float &x, float &y, float template<> void WaypointMovementGenerator::Reset(Creature &unit) { - StopedByPlayer = false; + StopedByPlayer = true; i_nextMoveTime.Reset(0); } -- cgit v1.2.3