Fixed: Software rendered models checked the wrong CVAR for enabled dynamic lights.

This commit is contained in:
Christoph Oelckers 2018-06-26 08:23:07 +02:00
commit e402babfc0
2 changed files with 2 additions and 2 deletions

View file

@ -98,7 +98,7 @@ namespace swrenderer
void SWModelRenderer::AddLights(AActor *actor)
{
if (gl_lights && actor)
if (r_dynlights && actor)
{
auto &addedLights = Thread->AddedLightsArray;