aboutsummaryrefslogtreecommitdiff
path: root/src/game/WaypointMovementGenerator.cpp
diff options
context:
space:
mode:
authorTrullyONE <none@none>2008-12-19 12:14:31 +0200
committerTrullyONE <none@none>2008-12-19 12:14:31 +0200
commitc27ef3542b8c3bc89c2b20be5b886a8036b46709 (patch)
treea60543f0ff90f1afd33c715530bc30674d8fed2b /src/game/WaypointMovementGenerator.cpp
parent222999c225f175b67091f1ad55f36cf58cb55da9 (diff)
*Prevents creature skipping next waypoint after Waypoint Movement is reset.
--HG-- branch : trunk
Diffstat (limited to 'src/game/WaypointMovementGenerator.cpp')
-rw-r--r--src/game/WaypointMovementGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
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<Player>::GetDestination(float &x, float &y, float
template<>
void WaypointMovementGenerator<Creature>::Reset(Creature &unit)
{
- StopedByPlayer = false;
+ StopedByPlayer = true;
i_nextMoveTime.Reset(0);
}