(ac4fc6f29) Fixed EventInput crashing in 32-bit windows builds

This commit is contained in:
Joonas Rikkonen
2019-05-06 11:28:13 +03:00
parent 0bd876e17d
commit 5999a66681
8 changed files with 117 additions and 253 deletions
@@ -2023,10 +2023,6 @@ namespace Barotrauma
{
IsRagdolled = IsForceRagdolled;
}
else if (IsRemotePlayer)
{
IsRagdolled = IsKeyDown(InputType.Ragdoll);
}
//Keep us ragdolled if we were forced or we're too speedy to unragdoll
else if (allowRagdoll && (!IsRagdolled || AnimController.Collider.LinearVelocity.LengthSquared() < 1f))
{