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

This commit is contained in:
tibbi
2012-10-05 09:24:11 -04:00
committed by Kandera
parent 6524e9f265
commit ce14a23ba0

View File

@@ -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<>