[8273] Use UNIT_STAT_ROAMING for PointMovement generator.

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2009-07-29 12:35:01 +02:00
parent 7f38da23fd
commit cac822949f
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ template<class T>
void PointMovementGenerator<T>::Initialize(T &unit)
{
unit.StopMoving();
unit.addUnitState(UNIT_STAT_MOVING);
unit.addUnitState(UNIT_STAT_ROAMING);
Traveller<T> traveller(unit);
i_destinationHolder.SetDestination(traveller,i_x,i_y,i_z);