I'm too lazy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3228 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
2d8dba797a
commit
b2429e478a
1 changed files with 2 additions and 2 deletions
|
@ -618,12 +618,12 @@ void SWR_MarkLeaves (void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
vis = CM_ClusterPVS (cl.worldmodel, r_viewcluster, NULL);
|
vis = CM_ClusterPVS (cl.worldmodel, r_viewcluster, NULL, 0);
|
||||||
// may have to combine two clusters because of solid water boundaries
|
// may have to combine two clusters because of solid water boundaries
|
||||||
if (r_viewcluster2 != r_viewcluster)
|
if (r_viewcluster2 != r_viewcluster)
|
||||||
{
|
{
|
||||||
memcpy (fatvis, vis, (cl.worldmodel->numleafs+7)/8);
|
memcpy (fatvis, vis, (cl.worldmodel->numleafs+7)/8);
|
||||||
vis = CM_ClusterPVS (cl.worldmodel, r_viewcluster2, NULL);//, cl.worldmodel);
|
vis = CM_ClusterPVS (cl.worldmodel, r_viewcluster2, NULL, 0);//, cl.worldmodel);
|
||||||
c = (cl.worldmodel->numleafs+31)/32;
|
c = (cl.worldmodel->numleafs+31)/32;
|
||||||
for (i=0 ; i<c ; i++)
|
for (i=0 ; i<c ; i++)
|
||||||
((int *)fatvis)[i] |= ((int *)vis)[i];
|
((int *)fatvis)[i] |= ((int *)vis)[i];
|
||||||
|
|
Loading…
Reference in a new issue