cl_dll/ragdoll.cpp
219220221222223224225
}
#define RAGDOLL_SLEEP_TOLERANCE 1.0f
static ConVar ragdoll_sleepaftertime( "ragdoll_sleepaftertime", "3.5f", 0, "After this many seconds of being basically stationary, the ragdoll will go to sleep." );
void CRagdoll::CheckSettleStationaryRagdoll()
{
219220221222223224225
}
#define RAGDOLL_SLEEP_TOLERANCE 1.0f
static ConVar ragdoll_sleepaftertime( "ragdoll_sleepaftertime", "3.5", FCVAR_ARCHIVE, "After this many seconds of being basically stationary, the ragdoll will go to sleep." );
void CRagdoll::CheckSettleStationaryRagdoll()
{
328329330331332333334
if ( !pRagdoll->IsValid() )
{
Msg("Bad ragdoll for %s\n", pstudiohdr->pszName() );
delete pRagdoll;
pRagdoll = NULL;
return pRagdoll;
328329330331332333334
if ( !pRagdoll->IsValid() )
{
//Msg("Bad ragdoll for %s\n", pstudiohdr->pszName() );
delete pRagdoll;
pRagdoll = NULL;
return pRagdoll;