Browse Source

engine: client: fix double call to CL_ParametricMove

pull/2/head
Alibek Omarov 3 years ago
parent
commit
d4d39c66fb
  1. 2
      engine/client/cl_frame.c

2
engine/client/cl_frame.c

@ -310,7 +310,7 @@ void CL_ProcessEntityUpdate( cl_entity_t *ent )
if( FBitSet( ent->curstate.entityType, ENTITY_NORMAL )) if( FBitSet( ent->curstate.entityType, ENTITY_NORMAL ))
COM_NormalizeAngles( ent->curstate.angles ); COM_NormalizeAngles( ent->curstate.angles );
parametric = CL_ParametricMove( ent ); parametric = ent->curstate.starttime != 0.0f && ent->curstate.impacttime != 0.0f;
// allow interpolation on bmodels too // allow interpolation on bmodels too
if( ent->model && ent->model->type == mod_brush ) if( ent->model && ent->model->type == mod_brush )

Loading…
Cancel
Save