mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 01:39:36 +00:00
arm64 : fix clang compile errors
This commit is contained in:
@@ -5618,7 +5618,8 @@ class CPhysicsPropMultiplayer : public CPhysicsProp, public IMultiplayerPhysics
|
||||
SetCollisionGroup( COLLISION_GROUP_DEBRIS );
|
||||
}
|
||||
|
||||
m_fMass = VPhysicsGetObject()->GetMass();
|
||||
if(VPhysicsGetObject())
|
||||
m_fMass = VPhysicsGetObject()->GetMass();
|
||||
|
||||
// VPhysicsGetObject() is NULL on the client, which prevents the client from finding a decent
|
||||
// AABB surrounding the collision bounds. If we've got a VPhysicsGetObject()->GetCollide(), we'll
|
||||
|
||||
Reference in New Issue
Block a user