[12675] Fix MoveGen's interrupting after last commit

Signed-off-by: Schmoozerd <schmoozerd@cmangos>

(based on commit [12473] - baa6525)
This commit is contained in:
rsa 2013-08-19 16:31:30 +03:00 committed by Antz
parent 394be2c5bf
commit 60a7bec73f
14 changed files with 32 additions and 18 deletions

View file

@ -42,6 +42,7 @@ void ConfusedMovementGenerator<T>::Initialize(T& unit)
template<class T>
void ConfusedMovementGenerator<T>::Interrupt(T& unit)
{
unit.InterruptMoving();
// confused state still applied while movegen disabled
unit.clearUnitState(UNIT_STAT_CONFUSED_MOVE);
}