From ece21540f7fb96f60547a3e8df45d9cfea143385 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 5 Aug 2001 23:17:55 +0000 Subject: [PATCH] almost working. just need to figure out why vis info isn't doing the right thing (I suspect a bug in my deconpression) --- libs/video/renderer/gl/gl_rlight.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/video/renderer/gl/gl_rlight.c b/libs/video/renderer/gl/gl_rlight.c index 5676494d1..80c10fcc5 100644 --- a/libs/video/renderer/gl/gl_rlight.c +++ b/libs/video/renderer/gl/gl_rlight.c @@ -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); }