diff options
| author | megamage <none@none> | 2009-05-03 16:29:33 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-05-03 16:29:33 -0500 |
| commit | 84fc76439c2f7b59c9e0995a1e4b991e27997c73 (patch) | |
| tree | be070d0c41b2ccae39c14d4f95eea18a15b6a77e /src/game/PointMovementGenerator.cpp | |
| parent | a682bfb201c7f22f4e856224691b5734309c3547 (diff) | |
*Fix a crash caused by feedpet.
*Also have delay for jump spells.
--HG--
branch : trunk
Diffstat (limited to 'src/game/PointMovementGenerator.cpp')
| -rw-r--r-- | src/game/PointMovementGenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/PointMovementGenerator.cpp b/src/game/PointMovementGenerator.cpp index 0c3758bfc5e..dedb4f0829c 100644 --- a/src/game/PointMovementGenerator.cpp +++ b/src/game/PointMovementGenerator.cpp @@ -28,7 +28,7 @@ template<class T> void PointMovementGenerator<T>::Initialize(T &unit) { - //unit.StopMoving(); + unit.StopMoving(); unit.clearUnitState(UNIT_STAT_MOVING); Traveller<T> traveller(unit); i_destinationHolder.SetDestination(traveller,i_x,i_y,i_z, !unit.hasUnitState(UNIT_STAT_JUMPING)); |
