mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-30 08:00:51 +00:00
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:
parent
899d8385a9
commit
ece21540f7
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue