|
|
@ -534,7 +534,7 @@ void CL_ComputePlayerOrigin( cl_entity_t *ent ) |
|
|
|
vec3_t origin; |
|
|
|
vec3_t origin; |
|
|
|
vec3_t angles; |
|
|
|
vec3_t angles; |
|
|
|
|
|
|
|
|
|
|
|
if( !ent->player || ent->index == ( cl.playernum + 1 )) |
|
|
|
if( !ent->player ) |
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
if( cl_nointerp->value > 0.f ) |
|
|
|
if( cl_nointerp->value > 0.f ) |
|
|
@ -1094,6 +1094,9 @@ void CL_LinkPlayers( frame_t *frame ) |
|
|
|
|
|
|
|
|
|
|
|
if ( i == cl.playernum ) |
|
|
|
if ( i == cl.playernum ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
// using interpolation only for local player angles
|
|
|
|
|
|
|
|
CL_ComputePlayerOrigin( ent ); |
|
|
|
|
|
|
|
|
|
|
|
if( cls.demoplayback == DEMO_QUAKE1 ) |
|
|
|
if( cls.demoplayback == DEMO_QUAKE1 ) |
|
|
|
VectorLerp( ent->prevstate.origin, cl.lerpFrac, ent->curstate.origin, cl.simorg ); |
|
|
|
VectorLerp( ent->prevstate.origin, cl.lerpFrac, ent->curstate.origin, cl.simorg ); |
|
|
|
VectorCopy( cl.simorg, ent->origin ); |
|
|
|
VectorCopy( cl.simorg, ent->origin ); |
|
|
|