From 8fb8ee7e2256abfae5924c651c275ea084a1d2e0 Mon Sep 17 00:00:00 2001 From: LekKit <50500857+LekKit@users.noreply.github.com> Date: Sun, 25 Sep 2022 08:37:34 +0000 Subject: [PATCH] ref: soft: implement r_fullbright --- ref/soft/r_light.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ref/soft/r_light.c b/ref/soft/r_light.c index 1e84d77d..82429070 100644 --- a/ref/soft/r_light.c +++ b/ref/soft/r_light.c @@ -52,7 +52,7 @@ void GAME_EXPORT CL_RunLightStyles( void ) for( i = 0; i < MAX_LIGHTSTYLES; i++ ) { ls = gEngfuncs.GetLightStyle( i ); - if( !WORLDMODEL->lightdata ) + if( r_fullbright->value || !WORLDMODEL->lightdata ) { tr.lightstylevalue[i] = 256 * 256; continue;