Core/Spells: Fix Distract. Closes #155

This commit is contained in:
Nay
2011-09-04 01:58:44 +01:00
parent 12c3e14654
commit fd5ab97774
+1
View File
@@ -3275,6 +3275,7 @@ void Spell::EffectDistract(SpellEffIndex /*effIndex*/)
unitTarget->SetOrientation(angle);
unitTarget->StopMoving();
unitTarget->GetMotionMaster()->MoveDistract(damage * IN_MILLISECONDS);
unitTarget->SendMovementFlagUpdate();
}
}