diff --git a/engine/client/cl_frame.c b/engine/client/cl_frame.c index e4c2141c..32ed990e 100644 --- a/engine/client/cl_frame.c +++ b/engine/client/cl_frame.c @@ -241,7 +241,7 @@ CL_GetStudioEstimatedFrame ==================== */ -float CL_GetStudioEstimatedFrame( cl_entity_t *ent ) +static float CL_GetStudioEstimatedFrame( cl_entity_t *ent ) { studiohdr_t *pstudiohdr; mstudioseqdesc_t *pseqdesc; @@ -255,7 +255,7 @@ float CL_GetStudioEstimatedFrame( cl_entity_t *ent ) { sequence = bound( 0, ent->curstate.sequence, pstudiohdr->numseq - 1 ); pseqdesc = (mstudioseqdesc_t *)((byte *)pstudiohdr + pstudiohdr->seqindex) + sequence; - return ref.dllFuncs.R_StudioEstimateFrame( ent, pseqdesc ); + return ref.dllFuncs.R_StudioEstimateFrame( ent, pseqdesc, cl.time ); } }