engine: client: workaround buggy position history times going backwards in interpolation code
This commit is contained in:
parent
7821f425e7
commit
13b36e66b3
1 changed files with 3 additions and 1 deletions
|
@ -486,7 +486,9 @@ int CL_InterpolateModel( cl_entity_t *e )
|
|||
return 0;
|
||||
}
|
||||
|
||||
if( Q_equal( t2, t1 ))
|
||||
// HACKHACK: workaround buggy position history animtime
|
||||
// going backward sometimes
|
||||
if( Q_equal( t2, t1 ) || t2 < t1 )
|
||||
{
|
||||
VectorCopy( ph0->origin, e->origin );
|
||||
VectorCopy( ph0->angles, e->angles );
|
||||
|
|
Loading…
Add table
Reference in a new issue