mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-10 11:10:33 +00:00
fix(Core/Movement): Add force speed ack to async movement and resolve stutter (#23371)
This commit is contained in:
@@ -528,9 +528,7 @@ public:
|
||||
init.Launch();
|
||||
|
||||
pPlayer->SetUnitMovementFlags(MOVEMENTFLAG_NONE);
|
||||
pPlayer->SetDisableGravity(true, true);
|
||||
|
||||
sScriptMgr->AnticheatSetCanFlybyServer(pPlayer, true);
|
||||
pPlayer->SetDisableGravity(true);
|
||||
|
||||
WorldPacket data(SMSG_SPLINE_MOVE_UNROOT, 8);
|
||||
data << pPlayer->GetPackGUID();
|
||||
@@ -941,10 +939,7 @@ public:
|
||||
if (!bUpdatedFlying && timer)
|
||||
{
|
||||
bUpdatedFlying = true;
|
||||
plr->SetDisableGravity(true, true);
|
||||
|
||||
sScriptMgr->AnticheatSetCanFlybyServer(plr, true);
|
||||
sScriptMgr->AnticheatSetUnderACKmount(plr);
|
||||
plr->SetDisableGravity(true);
|
||||
}
|
||||
|
||||
plr->SendMonsterMove(me->GetPositionX() + dist * cos(arcangle), me->GetPositionY() + dist * std::sin(arcangle), me->GetPositionZ(), VORTEX_DEFAULT_DIFF * 2, SPLINEFLAG_FLYING);
|
||||
|
||||
Reference in New Issue
Block a user