*Fix a crash caused by feedpet.

*Also have delay for jump spells.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-05-03 16:29:33 -05:00
1 parent a682bfb201
commit 84fc76439c
6 files changed
+45 -31

No files matched your search

+1 -1
View File
@@ -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));