mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[8273] Use UNIT_STAT_ROAMING for PointMovement generator.
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
7f38da23fd
commit
cac822949f
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue