Maps with a ZDRayInfo must always have dynamic lights (gl_lights cvar is ignored in this situation)
This commit is contained in:
parent
1fc1f467a0
commit
db4472b067
2 changed files with 7 additions and 4 deletions
|
|
@ -109,9 +109,9 @@ void FThinkerCollection::RunThinkers(FLevelLocals *Level)
|
|||
ThinkCycles.Clock();
|
||||
|
||||
bool dolights;
|
||||
if ((gl_lights && vid_rendermode == 4) || (r_dynlights && vid_rendermode != 4))
|
||||
if ((gl_lights && vid_rendermode == 4) || (r_dynlights && vid_rendermode != 4) || Level->lightmaps)
|
||||
{
|
||||
dolights = true;// Level->lights || (Level->flags3 & LEVEL3_LIGHTCREATED);
|
||||
dolights = true;// Level->lights || (Level->flags3 & LEVEL3_LIGHTCREATED) || Level->lightmaps;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue