Fixed third person animations

This commit is contained in:
unknown 2024-09-08 22:49:17 +02:00
parent ec524a26b5
commit 9c846412ba
4 changed files with 1 additions and 4 deletions

View file

@ -5101,7 +5101,7 @@ float C_BaseAnimating::GetLastVisibleCycle( CStudioHdr *pStudioHdr, int iSequenc
//=========================================================
void C_BaseAnimating::StudioFrameAdvance()
{
if ( m_bClientSideAnimation )
if ( !m_bClientSideAnimation )
return;
CStudioHdr *hdr = GetModelPtr();

View file

@ -110,7 +110,6 @@ bool C_LowViolenceHostageDeathModel::SetupLowViolenceModel( C_CHostage *pHostage
SetNextClientThink( CLIENT_THINK_ALWAYS );
SetSequence( LookupSequence( "death1" ) );
ForceClientSideAnimationOn();
if ( pHostage && !pHostage->IsDormant() )
{

View file

@ -385,7 +385,6 @@ void C_CSRagdoll::CreateLowViolenceRagdoll( void )
char str[512];
Q_snprintf( str, sizeof( str ), "death%d", iDeathAnim );
SetSequence( LookupSequence( str ) );
ForceClientSideAnimationOn();
Interp_Reset( GetVarMapping() );
}

View file

@ -419,7 +419,6 @@ void C_DODRagdoll::CreateLowViolenceRagdoll()
Q_snprintf( str, sizeof( str ), "death%d", iDeathAnim );
SetSequence( LookupSequence( str ) );
ForceClientSideAnimationOn();
SetNetworkOrigin( m_vecRagdollOrigin );
SetAbsOrigin( m_vecRagdollOrigin );