mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
fix(Core/Movement): Unroot should remove MOVEMENTFLAG_FALLING if not really falling (#9428)
- Closes #9187
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user