*Prevents creature skipping next waypoint after Waypoint Movement is reset.
--HG-- branch : trunk
This commit is contained in:
@@ -85,7 +85,7 @@ bool WaypointMovementGenerator<Player>::GetDestination(float &x, float &y, float
|
|||||||
template<>
|
template<>
|
||||||
void WaypointMovementGenerator<Creature>::Reset(Creature &unit)
|
void WaypointMovementGenerator<Creature>::Reset(Creature &unit)
|
||||||
{
|
{
|
||||||
StopedByPlayer = false;
|
StopedByPlayer = true;
|
||||||
i_nextMoveTime.Reset(0);
|
i_nextMoveTime.Reset(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user