mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-14 00:21:34 +00:00
- 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:
parent
2aa79bd538
commit
dce6456994
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ void FThinkerCollection::RunThinkers(FLevelLocals *Level)
|
||||||
bool dolights;
|
bool dolights;
|
||||||
if ((gl_lights && vid_rendermode == 4) || (r_dynlights && vid_rendermode != 4))
|
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
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue