mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07: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)
|
||||
{
|
||||
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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue