Fixed crash in dynamic lights compatibility renderer

Reproduces using -iwad plutonia -file brutalv20b.pk3 +map map07
This commit is contained in:
alexey.lysiuk 2016-06-26 11:37:21 +03:00 committed by Christoph Oelckers
parent 17c212d5bc
commit fc8eaab57b

View file

@ -673,7 +673,7 @@ void GLFlat::DrawLightsCompat(int pass)
while (node)
{
DrawSubsectorLights(sub, pass);
DrawSubsectorLights(node->sub, pass);
node = node->next;
}
}