fix(Core/Movement): Unroot should remove MOVEMENTFLAG_FALLING if not really falling (#9428)
- Closes #9187
This commit is contained in:
parent
9391189901
commit
90451c1d3f
1 changed files with 5 additions and 0 deletions
|
|
@ -997,6 +997,11 @@ void WorldSession::HandleMoveUnRootAck(WorldPacket& recvData)
|
|||
movementInfo.time = (uint32)movementTime;
|
||||
}
|
||||
|
||||
if (G3D::fuzzyEq(movementInfo.fallTime, 0.f))
|
||||
{
|
||||
movementInfo.RemoveMovementFlag(MOVEMENTFLAG_FALLING);
|
||||
}
|
||||
|
||||
movementInfo.guid = mover->GetGUID();
|
||||
mover->m_movementInfo = movementInfo;
|
||||
mover->UpdatePosition(movementInfo.pos);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue