- correct checks for HasDynamicLights
This commit is contained in:
parent
e402babfc0
commit
0ed1077f29
2 changed files with 2 additions and 1 deletions
|
|
@ -786,7 +786,7 @@ void D_Display ()
|
|||
//
|
||||
|
||||
// Check for the presence of dynamic lights at the start of the frame once.
|
||||
if (gl_lights)
|
||||
if ((gl_lights && vid_rendermode == 4) || (r_dynlights && vid_rendermode != 4))
|
||||
{
|
||||
TThinkerIterator<ADynamicLight> it(STAT_DLIGHT);
|
||||
level.HasDynamicLights = !!it.Next();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue