build fix

This commit is contained in:
Shauren
2019-09-08 12:25:31 +02:00
parent cbe294c20d
commit 49c3a98d88

View File

@@ -398,7 +398,7 @@ void WorldPackets::Movement::CommonMovement::WriteMovementForceWithDirection(Mov
float lengthSquared = tmp.GetExactDistSq(0.0f, 0.0f, 0.0f);
if (lengthSquared > 0.0f)
{
float mult = 1.0f / std::sqrtf(lengthSquared) * movementForce.Magnitude;
float mult = 1.0f / std::sqrt(lengthSquared) * movementForce.Magnitude;
tmp.m_positionX *= mult;
tmp.m_positionY *= mult;
tmp.m_positionZ *= mult;