From fc8eaab57b9c15aa9313ad7fda319448cd3ad88c Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 26 Jun 2016 11:37:21 +0300 Subject: [PATCH] Fixed crash in dynamic lights compatibility renderer Reproduces using -iwad plutonia -file brutalv20b.pk3 +map map07 --- src/gl/compatibility/gl_20.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/compatibility/gl_20.cpp b/src/gl/compatibility/gl_20.cpp index 957a73f4ab..431f6bfe96 100644 --- a/src/gl/compatibility/gl_20.cpp +++ b/src/gl/compatibility/gl_20.cpp @@ -673,7 +673,7 @@ void GLFlat::DrawLightsCompat(int pass) while (node) { - DrawSubsectorLights(sub, pass); + DrawSubsectorLights(node->sub, pass); node = node->next; } }