Core/Units: Removed most calls to SendMovementFlagUpdate for creatures

This commit is contained in:
Shauren committed 2013-06-30 16:31:24 +02:00
1 parent b3bdcc61ee
commit 112bc49c9a
14 files changed
+22 -58

No files matched your search

+1 -2
View File
@@ -2293,8 +2293,7 @@ class spell_item_unusual_compass : public SpellScriptLoader
void HandleDummy(SpellEffIndex /* effIndex */)
{
Unit* caster = GetCaster();
caster->SetOrientation(frand(0.0f, 62832.0f) / 10000.0f);
caster->SendMovementFlagUpdate(true);
caster->SetFacingTo(frand(0.0f, 2.0f * M_PI));
}
void Register()