aboutsummaryrefslogtreecommitdiff
path: root/src/game/PointMovementGenerator.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-07-31 11:33:48 +0800
committermegamage <none@none>2009-07-31 11:33:48 +0800
commited995581af21754e3b7e66daa50f8da1e38d3760 (patch)
treee9bc4a11e2acd6c4688f7dd670a6778ef36d8a9c /src/game/PointMovementGenerator.cpp
parent0fcadd9d257fc716e7dc90b4034f33280f4dcb14 (diff)
*Fixed /played chat command. Author: tomrus88
--HG-- branch : trunk
Diffstat (limited to 'src/game/PointMovementGenerator.cpp')
-rw-r--r--src/game/PointMovementGenerator.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/game/PointMovementGenerator.cpp b/src/game/PointMovementGenerator.cpp
index 24baa4939b4..ffd036e9c21 100644
--- a/src/game/PointMovementGenerator.cpp
+++ b/src/game/PointMovementGenerator.cpp
@@ -30,7 +30,6 @@ template<class T>
void PointMovementGenerator<T>::Initialize(T &unit)
{
unit.StopMoving();
- unit.clearUnitState(UNIT_STAT_MOVING);
Traveller<T> traveller(unit);
// knockback effect has UNIT_STAT_JUMPING set,so if here we disable sentmonstermove there will be creature position sync problem between client and server
i_destinationHolder.SetDestination(traveller,i_x,i_y,i_z, true /* !unit.hasUnitState(UNIT_STAT_JUMPING)*/);