almost working. just need to figure out why vis info isn't doing the right

thing (I suspect a bug in my deconpression)
This commit is contained in:
Bill Currie 2001-08-05 23:17:55 +00:00
parent 899d8385a9
commit ece21540f7

View file

@ -387,8 +387,7 @@ R_MarkLights (vec3_t lightorigin, dlight_t *light, int bit, model_t *model)
leaf->dlightbits |= bit;
for (m = 0; m < leaf->nummarksurfaces; m++) {
msurface_t *surf = leaf->firstmarksurface[m];
if (surf->visframe != r_visframecount
|| surf->dlightframe == r_framecount)
if (surf->visframe != r_visframecount)
continue;
mark_surfaces (surf, lightorigin, light, bit);
}