From 8897ff116add7164948f914a915ffc8a66eccf82 Mon Sep 17 00:00:00 2001 From: lordhavoc Date: Sun, 27 Jan 2002 08:33:58 +0000 Subject: [PATCH] fix problem with dynamic lights on lightmaps wider than 18 pixels (oops!) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1424 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rsurf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl_rsurf.c b/gl_rsurf.c index fe610f43..2b777f24 100644 --- a/gl_rsurf.c +++ b/gl_rsurf.c @@ -60,7 +60,7 @@ static int dlightdivtable[32768]; static int R_AddDynamicLights (msurface_t *surf) { - int sdtable[18], lnum, td, maxdist, maxdist2, maxdist3, i, s, t, smax, tmax, smax3, red, green, blue, lit, dist2, impacts, impactt, subtract; + int sdtable[256], lnum, td, maxdist, maxdist2, maxdist3, i, s, t, smax, tmax, smax3, red, green, blue, lit, dist2, impacts, impactt, subtract; unsigned int *bl; float dist; vec3_t impact, local; -- 2.39.2