- fix dynamic light setup.

The level’s global flag is unreliable and cannot be used. The operation this was initially supposed to skip cannot be skipped anyway so the impact should be minor.
This commit is contained in:
Christoph Oelckers 2022-05-23 00:01:49 +02:00
commit dce6456994

View file

@ -111,7 +111,7 @@ void FThinkerCollection::RunThinkers(FLevelLocals *Level)
bool dolights;
if ((gl_lights && vid_rendermode == 4) || (r_dynlights && vid_rendermode != 4))
{
dolights = Level->lights || (Level->flags3 & LEVEL3_LIGHTCREATED);
dolights = true;// Level->lights || (Level->flags3 & LEVEL3_LIGHTCREATED);
}
else
{