Core/SpellEffects: correcting movement bugs with CC + slow, for example Psychic scream + Chains of ice

This commit is contained in:
tibbi authored and Kandera committed 2012-10-05 09:24:11 -04:00
1 parent 6524e9f265
commit ce14a23ba0
1 file changed
+1
@@ -335,6 +335,7 @@ void FleeingMovementGenerator<Player>::Finalize(Player &owner)
{
owner.RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_FLEEING);
owner.ClearUnitState(UNIT_STATE_FLEEING|UNIT_STATE_FLEEING_MOVE);
owner.StopMoving();
}
template<>