Fixed third person animations
This commit is contained in:
parent
ec524a26b5
commit
9c846412ba
4 changed files with 1 additions and 4 deletions
|
@ -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();
|
||||
|
|
|
@ -110,7 +110,6 @@ bool C_LowViolenceHostageDeathModel::SetupLowViolenceModel( C_CHostage *pHostage
|
|||
SetNextClientThink( CLIENT_THINK_ALWAYS );
|
||||
|
||||
SetSequence( LookupSequence( "death1" ) );
|
||||
ForceClientSideAnimationOn();
|
||||
|
||||
if ( pHostage && !pHostage->IsDormant() )
|
||||
{
|
||||
|
|
|
@ -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() );
|
||||
}
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue