mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 01:39:36 +00:00
Replace 1e24 with 1e16 to avoid float overflow
This commit is contained in:
@@ -79,7 +79,7 @@ IPhysicsObject *PhysModelCreateCustom( C_BaseEntity *pEntity, const CPhysCollide
|
||||
solid_t solid;
|
||||
solid.params = g_PhysDefaultObjectParams;
|
||||
solid.params.mass = 85.0f;
|
||||
solid.params.inertia = 1e24f;
|
||||
solid.params.inertia = 1e16f;
|
||||
int surfaceProp = -1;
|
||||
if ( props && props[0] )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user