Skip to content

Commit

Permalink
[10355] Correctly clearUnitState at Interrupt of WaypointMovementGene…
Browse files Browse the repository at this point in the history
…rator for creature

Signed-off-by: NoFantasy <nofantasy@nf.no>
  • Loading branch information
NoFantasy committed Aug 13, 2010
1 parent 4c7b78a commit 4fe568a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/game/WaypointMovementGenerator.cpp
Expand Up @@ -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 )
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10354"
#define REVISION_NR "10355"
#endif // __REVISION_NR_H__

0 comments on commit 4fe568a

Please sign in to comment.