fix(Core/Movement): Send proper movement animation visuals. (#10843)
Fixed #10812 Fixed #10814
This commit is contained in:
parent
41cc053c68
commit
617d85a498
7 changed files with 37 additions and 36 deletions
|
|
@ -19900,7 +19900,7 @@ bool Unit::SetWalk(bool enable)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool Unit::SetDisableGravity(bool disable, bool /*packetOnly = false*/)
|
||||
bool Unit::SetDisableGravity(bool disable, bool /*packetOnly = false*/, bool /*updateAnimationTier = true*/)
|
||||
{
|
||||
if (disable == IsLevitating())
|
||||
return false;
|
||||
|
|
@ -19999,7 +19999,7 @@ void Unit::SendMovementFeatherFall(Player* sendTo)
|
|||
sendTo->SendDirectMessage(&data);
|
||||
}
|
||||
|
||||
bool Unit::SetHover(bool enable, bool /*packetOnly = false*/)
|
||||
bool Unit::SetHover(bool enable, bool /*packetOnly = false*/, bool /*updateAnimationTier = true*/)
|
||||
{
|
||||
if (enable == HasUnitMovementFlag(MOVEMENTFLAG_HOVER))
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue