Core/Units: Removed most calls to SendMovementFlagUpdate for creatures
This commit is contained in:
1 parent
b3bdcc61ee
commit
112bc49c9a
14 files changed
+22
-58
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user