mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
Replace 1e24 with 1e16 to avoid float overflow
This commit is contained in:
@@ -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 ) );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user