git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4979 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
8241ed13be
commit
c15ce364be
1 changed files with 1 additions and 1 deletions
|
@ -2372,7 +2372,7 @@ void SVQ3_BuildClientSnapshot( client_t *client )
|
||||||
portalarea = CM_PointLeafnum(sv.world.worldmodel, ent->s.origin2);
|
portalarea = CM_PointLeafnum(sv.world.worldmodel, ent->s.origin2);
|
||||||
//merge pvs bits so we can see other ents through it
|
//merge pvs bits so we can see other ents through it
|
||||||
merge = sv.world.worldmodel->funcs.ClusterPVS(sv.world.worldmodel, CM_LeafCluster(sv.world.worldmodel, portalarea), NULL, 0);
|
merge = sv.world.worldmodel->funcs.ClusterPVS(sv.world.worldmodel, CM_LeafCluster(sv.world.worldmodel, portalarea), NULL, 0);
|
||||||
c = (cl.worldmodel->numclusters+31)/32;
|
c = (sv.world.worldmodel->numclusters+31)/32;
|
||||||
while (c-->0)
|
while (c-->0)
|
||||||
((int *)bitvector)[c] |= ((int *)merge)[c];
|
((int *)bitvector)[c] |= ((int *)merge)[c];
|
||||||
//and merge areas, so we can see the world too (client will calc its own pvs)
|
//and merge areas, so we can see the world too (client will calc its own pvs)
|
||||||
|
|
Loading…
Reference in a new issue