[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) void PointMovementGenerator<T>::Initialize(T &unit)
{ {
unit.StopMoving(); unit.StopMoving();
unit.addUnitState(UNIT_STAT_MOVING); unit.addUnitState(UNIT_STAT_ROAMING);
Traveller<T> traveller(unit); Traveller<T> traveller(unit);
i_destinationHolder.SetDestination(traveller,i_x,i_y,i_z); i_destinationHolder.SetDestination(traveller,i_x,i_y,i_z);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "8272" #define REVISION_NR "8273"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__