Respect server code (InvalidateBoneCacheIfOlderThan)
This commit is contained in:
parent
60cd88e786
commit
2cc7a749a2
1 changed files with 3 additions and 6 deletions
|
@ -5257,12 +5257,9 @@ void C_BaseAnimating::StudioFrameAdvance()
|
||||||
|
|
||||||
m_flGroundSpeed = GetSequenceGroundSpeed( hdr, GetSequence() ) * GetModelScale();
|
m_flGroundSpeed = GetSequenceGroundSpeed( hdr, GetSequence() ) * GetModelScale();
|
||||||
|
|
||||||
#if 0
|
InvalidatePhysicsRecursive( ANIMATION_CHANGED );
|
||||||
// I didn't have a test case for this, but it seems like the right thing to do. Check multi-player!
|
|
||||||
|
InvalidateBoneCacheIfOlderThan( 0 );
|
||||||
// Msg("%s : %s : %5.1f\n", GetClassname(), GetSequenceName( GetSequence() ), GetCycle() );
|
|
||||||
InvalidatePhysicsRecursive( ANIMATION_CHANGED );
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if ( watch )
|
if ( watch )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue