From f3e1f34cbf12a99a30970714b0b043be5575a64b Mon Sep 17 00:00:00 2001 From: Xottab-DUTY Date: Sat, 4 Nov 2017 17:32:38 +0500 Subject: [PATCH] Fix physics bugs on x64 Thanks to Giperion --- src/xrPhysics/Physics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrPhysics/Physics.cpp b/src/xrPhysics/Physics.cpp index 9b55e478fd0..ada21c952e9 100644 --- a/src/xrPhysics/Physics.cpp +++ b/src/xrPhysics/Physics.cpp @@ -248,7 +248,7 @@ IC static int CollideIntoGroup( } if (pushing_neg) - surface.mu = dInfinity; + surface.mu = flt_max; // dInfinity if (do_collide && collided_contacts < MAX_CONTACTS) { ++collided_contacts;