*Fix a crash caused by feedpet.
*Also have delay for jump spells. --HG-- branch : trunk
This commit is contained in:
1 parent
a682bfb201
commit
84fc76439c
6 files changed
+45
-31
No files matched your search
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user