Replace 1e24 with 1e16 to avoid float overflow

This commit is contained in:
nillerusr
2021-10-13 20:01:24 +03:00
parent 977bac3205
commit cb04a1e451
22 changed files with 31 additions and 31 deletions

View File

@@ -478,7 +478,7 @@ void PhysGetDefaultAABBSolid( solid_t &solid )
{
solid.params = g_PhysDefaultObjectParams;
solid.params.mass = 85.0f;
solid.params.inertia = 1e24f;
solid.params.inertia = 1e16f;
Q_strncpy( solid.surfaceprop, "default", sizeof( solid.surfaceprop ) );
}