From 5956299e80b29ef3891bcec8e99cd3e680f34b1a Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Mon, 9 Mar 2026 10:54:55 +0000 Subject: [PATCH] Fix incorrect variable reference --- code/renderergl2/tr_bsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/renderergl2/tr_bsp.c b/code/renderergl2/tr_bsp.c index 19841ce3..9c68d02c 100644 --- a/code/renderergl2/tr_bsp.c +++ b/code/renderergl2/tr_bsp.c @@ -2861,7 +2861,7 @@ void RE_LoadWorldMap( const char *name ) { { int l; - sprintf(fileName, "primarylg%d.tga", l); + sprintf(fileName, "primarylg%d.tga", k); out = buf + 18; for (l = 0; l < w->lightGridBounds[0] * w->lightGridBounds[1]; l++)