revert me

This commit is contained in:
nillerusr 2023-10-17 20:46:42 +03:00
parent 5324d8f328
commit b95472df79
2 changed files with 3 additions and 3 deletions

View File

@ -8032,11 +8032,11 @@ void CBasePlayer::SetupVPhysicsShadow( const Vector &vecAbsOrigin, const Vector
solid.params.dragCoefficient = 0; solid.params.dragCoefficient = 0;
// create standing hull // create standing hull
m_pShadowStand = PhysModelCreateCustom( this, pStandModel, GetLocalOrigin(), GetLocalAngles(), pStandHullName, false, &solid ); m_pShadowStand = PhysModelCreateCustom( this, pStandModel, GetLocalOrigin(), GetLocalAngles(), pStandHullName, false, &solid );
m_pShadowStand->SetCallbackFlags( CALLBACK_GLOBAL_COLLISION | CALLBACK_SHADOW_COLLISION ); // m_pShadowStand->SetCallbackFlags( CALLBACK_GLOBAL_COLLISION | CALLBACK_SHADOW_COLLISION );
// create crouchig hull // create crouchig hull
m_pShadowCrouch = PhysModelCreateCustom( this, pCrouchModel, GetLocalOrigin(), GetLocalAngles(), pCrouchHullName, false, &solid ); m_pShadowCrouch = PhysModelCreateCustom( this, pCrouchModel, GetLocalOrigin(), GetLocalAngles(), pCrouchHullName, false, &solid );
m_pShadowCrouch->SetCallbackFlags( CALLBACK_GLOBAL_COLLISION | CALLBACK_SHADOW_COLLISION ); // m_pShadowCrouch->SetCallbackFlags( CALLBACK_GLOBAL_COLLISION | CALLBACK_SHADOW_COLLISION );
// default to stand // default to stand
VPhysicsSetObject( m_pShadowStand ); VPhysicsSetObject( m_pShadowStand );

View File

@ -72,7 +72,7 @@ projects={
'vgui2/vgui_surfacelib', 'vgui2/vgui_surfacelib',
'vguimatsurface', 'vguimatsurface',
'video', 'video',
'vphysics', 'vphysics-physx',
'vpklib', 'vpklib',
'vstdlib', 'vstdlib',
'vtf', 'vtf',