Fixed characters walking slightly above the floor

This commit is contained in:
Regalis
2017-05-28 22:37:24 +03:00
parent dc80ee810c
commit 744e2bd031

View File

@@ -360,7 +360,7 @@ namespace Barotrauma
Limb leg = i == -1 ? leftLeg : rightLeg;
Vector2 footPos = stepSize * -i;
if (stepSize.Y > 0.0f) stepSize.Y = -0.15f;
if (stepSize.Y < 0.0f) stepSize.Y = -0.15f;
if (onSlope && stairs == null)
{