I figured out a solution :-)
I was able to find an appropriate solution for models/view-model being illuminated by gun flashes correctly and fixed them at their source, but that fix didn't apply to flickering lights. Flickering lights, even with dynamic lights being "disabled", would still affect models.
Solution:
I was able to find an appropriate solution for models/view-model being illuminated by gun flashes correctly and fixed them at their source, but that fix didn't apply to flickering lights. Flickering lights, even with dynamic lights being "disabled", would still affect models.
Solution:
Code:
/* ================== R_AnimateLight ================== */ void R_AnimateLight (void) [COLOR="Red"]{if (r_dynamic.value){ // <---- MOTHA FUCKIN GOLDEN CHILD[/COLOR] int i,j,k; i = (int)(cl.time*10); for (j=0 ; j<MAX_LIGHTSTYLES ; j++) { if (!cl_lightstyle[j].length) { d_lightstylevalue[j] = 256; continue; } k = i % cl_lightstyle[j].length; k = cl_lightstyle[j].map[k] - 'a'; k = k*22; d_lightstylevalue[j] = k; } } }
Comment