From acdf1da995e1e63a497ee107ce4bc976409d7813 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 28 Dec 2023 22:19:44 +0300 Subject: [PATCH] ref: soft: remove GetMoveVars() call --- ref/soft/r_studio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ref/soft/r_studio.c b/ref/soft/r_studio.c index 23729c08..6ca2b707 100644 --- a/ref/soft/r_studio.c +++ b/ref/soft/r_studio.c @@ -1320,7 +1320,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;