From c15ce364be7eaead9e1048cc638eb8da91ab0c1a Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 1 Sep 2015 04:51:21 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4979 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/server/svq3_game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/server/svq3_game.c b/engine/server/svq3_game.c index ef5e6db8a..e5504f526 100644 --- a/engine/server/svq3_game.c +++ b/engine/server/svq3_game.c @@ -2372,7 +2372,7 @@ void SVQ3_BuildClientSnapshot( client_t *client ) portalarea = CM_PointLeafnum(sv.world.worldmodel, ent->s.origin2); //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); - c = (cl.worldmodel->numclusters+31)/32; + c = (sv.world.worldmodel->numclusters+31)/32; while (c-->0) ((int *)bitvector)[c] |= ((int *)merge)[c]; //and merge areas, so we can see the world too (client will calc its own pvs)