1
0
Fork 0
forked from fte/fteqw

------------------------------------------------------------------------

r4244 | acceptthis | 2013-03-08 02:47:19 +0000 (Fri, 08 Mar 2013) | 1 line

bound gl_flashblend.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4240 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2013-03-12 23:17:40 +00:00
parent de2abac8f9
commit 57da8fe041

View file

@ -126,8 +126,8 @@ static void CL_ClearDlight(dlight_t *dl, int key)
dl->color[0] = 1;
dl->color[1] = 1;
dl->color[2] = 1;
dl->corona = r_flashblend.value * 0.25;
dl->coronascale = r_flashblendscale.value;
dl->corona = bound(0, r_flashblend.value * 0.25, 1);
dl->coronascale = bound(0, r_flashblendscale.value, 1);
dl->lightcolourscales[0] = r_shadow_realtime_dlight_ambient.value;
dl->lightcolourscales[1] = r_shadow_realtime_dlight_diffuse.value;
dl->lightcolourscales[2] = r_shadow_realtime_dlight_specular.value;