mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-09 02:09:35 +00:00
physics: fix a lot of problems
This commit is contained in:
@@ -173,7 +173,7 @@ void CMCVMinimapPanel::OnMousePressed( vgui::MouseCode code )
|
||||
|
||||
// Find the closest MCV to their mouse press.
|
||||
int iClosest = -1;
|
||||
float flClosest = 1e16;
|
||||
float flClosest = 1e24;
|
||||
Vector2D curMousePos( m_LastX, m_LastY );
|
||||
|
||||
for ( int i=0; i < pPanel->m_DeployedTeleportStations.Count(); i++ )
|
||||
|
||||
@@ -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 = 1e16f;
|
||||
solid.params.inertia = 1e24f;
|
||||
int surfaceProp = -1;
|
||||
if ( props && props[0] )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user