mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
ref: gl: remove GetMoveVars() call
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user