mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +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 )
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10354"
|
||||
#define REVISION_NR "10355"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue