Browse Source

ref: soft: remove GetMoveVars() call

pull/2/head
Alibek Omarov 11 months ago
parent
commit
acdf1da995
  1. 2
      ref/soft/r_studio.c

2
ref/soft/r_studio.c

@ -1320,7 +1320,7 @@ R_StudioDynamicLight
*/ */
void R_StudioDynamicLight( cl_entity_t *ent, alight_t *plight ) void R_StudioDynamicLight( cl_entity_t *ent, alight_t *plight )
{ {
movevars_t *mv = gEngfuncs.pfnGetMoveVars(); movevars_t *mv = tr.movevars;
vec3_t lightDir, vecSrc, vecEnd; vec3_t lightDir, vecSrc, vecEnd;
vec3_t origin, dist, finalLight; vec3_t origin, dist, finalLight;
float add, radius, total; float add, radius, total;

Loading…
Cancel
Save