Don't use IKs for now
This commit is contained in:
parent
70d7c82ff9
commit
273ac76745
2 changed files with 4 additions and 1 deletions
|
@ -2901,7 +2901,7 @@ bool C_BaseAnimating::SetupBones( matrix3x4_t *pBoneToWorldOut, int nMaxBones, i
|
||||||
// only allocate an ik block if the npc can use it
|
// only allocate an ik block if the npc can use it
|
||||||
// The flag is now completely ignored to match server bones!
|
// The flag is now completely ignored to match server bones!
|
||||||
// If it doesn't work well, blame models.
|
// If it doesn't work well, blame models.
|
||||||
if ( !m_pIk && hdr->numikchains() > 0 /* && !(m_EntClientFlags & ENTCLIENTFLAG_DONTUSEIK) */ )
|
if ( !m_pIk && hdr->numikchains() > 0 && !(m_EntClientFlags & ENTCLIENTFLAG_DONTUSEIK) )
|
||||||
{
|
{
|
||||||
m_pIk = new CIKContext;
|
m_pIk = new CIKContext;
|
||||||
}
|
}
|
||||||
|
|
|
@ -794,6 +794,9 @@ C_CSPlayer::C_CSPlayer() :
|
||||||
ListenForGameEvent( "bullet_hit_player" );
|
ListenForGameEvent( "bullet_hit_player" );
|
||||||
ListenForGameEvent( "bullet_player_hitboxes" );
|
ListenForGameEvent( "bullet_player_hitboxes" );
|
||||||
ListenForGameEvent( "player_lag_hitboxes" );
|
ListenForGameEvent( "player_lag_hitboxes" );
|
||||||
|
|
||||||
|
/* don't use IKs for now as they're prone to bugs */
|
||||||
|
m_EntClientFlags |= ENTCLIENTFLAG_DONTUSEIK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue