This was missing in the commit.

This commit is contained in:
Major Cooke 2020-12-19 10:31:44 -06:00 committed by Christoph Oelckers
parent 31fa78d7c9
commit bf6849d184
1 changed files with 1 additions and 1 deletions

View File

@ -420,7 +420,7 @@ void HWWall::SetupLights(HWDrawInfo *di, FDynLightData &lightdata)
// Iterate through all dynamic lights which touch this wall and render them // Iterate through all dynamic lights which touch this wall and render them
while (node) while (node)
{ {
if (node->lightsource->IsActive()) if (node->lightsource->IsActive() && !node->lightsource->DontLightMap())
{ {
iter_dlight++; iter_dlight++;