From: lordhavoc Date: Sun, 27 Jan 2002 08:33:58 +0000 (+0000) Subject: fix problem with dynamic lights on lightmaps wider than 18 pixels (oops!) X-Git-Tag: RELEASE_0_2_0_RC1~683 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8897ff116add7164948f914a915ffc8a66eccf82;p=xonotic%2Fdarkplaces.git 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 --- 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;