mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-23 05:14:15 +00:00
ref: gl: remove GetMoveVars() call
This commit is contained in:
parent
537237ef62
commit
6c16de55c0
@ -765,7 +765,7 @@ similar to R_StudioDynamicLight
|
|||||||
*/
|
*/
|
||||||
void R_AliasDynamicLight( cl_entity_t *ent, alight_t *plight )
|
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 lightDir, vecSrc, vecEnd;
|
||||||
vec3_t origin, dist, finalLight;
|
vec3_t origin, dist, finalLight;
|
||||||
float add, radius, total;
|
float add, radius, total;
|
||||||
|
@ -1324,7 +1324,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…
x
Reference in New Issue
Block a user