Core/Movement: delay movement update in MotionMaster until its owner signals AddToWorld

Port From (https://github.com/TrinityCore/TrinityCore/commit/dfb2221552048512b4fda0c7e0c97ecf808106f9)
This commit is contained in:
hondacrx
2022-01-05 17:26:33 -05:00
parent 95c3782ccb
commit efb7142aef
3 changed files with 36 additions and 14 deletions
+1
View File
@@ -430,6 +430,7 @@ namespace Game.Entities
public override void AddToWorld()
{
base.AddToWorld();
i_motionMaster.AddToWorld();
RemoveAurasWithInterruptFlags(SpellAuraInterruptFlags.EnterWorld);
}