Browse Source

ref: gl: remove GetMoveVars() call

pull/2/head
Alibek Omarov 9 months ago
parent
commit
6c16de55c0
  1. 2
      ref/gl/gl_alias.c
  2. 2
      ref/gl/gl_studio.c

2
ref/gl/gl_alias.c

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

2
ref/gl/gl_studio.c

@ -1324,7 +1324,7 @@ R_StudioDynamicLight @@ -1324,7 +1324,7 @@ R_StudioDynamicLight
*/
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 origin, dist, finalLight;
float add, radius, total;

Loading…
Cancel
Save