Merge branch 'master' into modern
This commit is contained in:
commit
8ac864b007
7 changed files with 23 additions and 7 deletions
|
|
@ -764,7 +764,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