mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 01:29:07 +00:00
fix(Core/Movement): Add force speed ack to async movement and resolve stutter (#23371)
This commit is contained in:
@@ -417,10 +417,10 @@ public:
|
||||
if (CheckModifySpeed(handler, target, allSpeed, 0.1f, 50.0f))
|
||||
{
|
||||
NotifyModification(handler, target, LANG_YOU_CHANGE_ASPEED, LANG_YOURS_ASPEED_CHANGED, allSpeed);
|
||||
target->SetSpeed(MOVE_WALK, allSpeed);
|
||||
target->SetSpeed(MOVE_RUN, allSpeed);
|
||||
target->SetSpeed(MOVE_SWIM, allSpeed);
|
||||
target->SetSpeed(MOVE_FLIGHT, allSpeed);
|
||||
target->SetSpeed(MOVE_WALK, allSpeed, true);
|
||||
target->SetSpeed(MOVE_RUN, allSpeed, true);
|
||||
target->SetSpeed(MOVE_SWIM, allSpeed, true);
|
||||
target->SetSpeed(MOVE_FLIGHT, allSpeed, true);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user