Skip to content

Commit

Permalink
[12832] Make sure player stop moving when confused aura is removed.
Browse files Browse the repository at this point in the history
modified version of @kvipka work
  • Loading branch information
Cyberium committed Jan 28, 2015
1 parent b0b978d commit ba392a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/game/ConfusedMovementGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ template<>
void ConfusedMovementGenerator<Player>::Finalize(Player& unit)
{
unit.clearUnitState(UNIT_STAT_CONFUSED | UNIT_STAT_CONFUSED_MOVE);
unit.StopMoving();
unit.StopMoving(true);
}

template<>
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "12831"
#define REVISION_NR "12832"
#endif // __REVISION_NR_H__

0 comments on commit ba392a6

Please sign in to comment.