mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[10355] Correctly clearUnitState at Interrupt of WaypointMovementGenerator for creature
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
5d6311da68
commit
c7761a6db9
2 changed files with 2 additions and 2 deletions
|
|
@ -85,7 +85,7 @@ void WaypointMovementGenerator<Creature>::Finalize( Creature &u )
|
|||
|
||||
void WaypointMovementGenerator<Creature>::Interrupt( Creature &u )
|
||||
{
|
||||
u.addUnitState(UNIT_STAT_ROAMING|UNIT_STAT_ROAMING_MOVE);
|
||||
u.clearUnitState(UNIT_STAT_ROAMING|UNIT_STAT_ROAMING_MOVE);
|
||||
}
|
||||
|
||||
void WaypointMovementGenerator<Creature>::Reset( Creature &u )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue