git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1424
d7cf8633-e32d-0410-b094-
e92efae38249
static int R_AddDynamicLights (msurface_t *surf)
{
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;
unsigned int *bl;
float dist;
vec3_t impact, local;