From 8e93242aa86e179855a36c9ed735ae02e4cb684c Mon Sep 17 00:00:00 2001 From: sajt Date: Sun, 30 Sep 2007 23:53:26 +0000 Subject: [PATCH] fix some errors git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7597 d7cf8633-e32d-0410-b094-e92efae38249 --- sv_main.c | 2 +- svvm_cmds.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sv_main.c b/sv_main.c index 7b56c8fc..9384eb8e 100644 --- a/sv_main.c +++ b/sv_main.c @@ -1296,7 +1296,7 @@ static void SV_WriteEntitiesToClient(client_t *client, prvm_edict_t *clent, size VectorAdd(clent->fields.server->origin, clent->fields.server->view_ofs, sv.writeentitiestoclient_testeye); sv.writeentitiestoclient_pvsbytes = 0; if (sv.worldmodel && sv.worldmodel->brush.FatPVS) - sv.writeentitiestoclient_pvsbytes = sv.worldmodel->brush.FatPVS(sv.worldmodel, sv.writeentitiestoclient_testeye, 8, sv.writeentitiestoclient_pvs, sizeof(sv.writeentitiestoclient_pvs)); + sv.writeentitiestoclient_pvsbytes = sv.worldmodel->brush.FatPVS(sv.worldmodel, sv.writeentitiestoclient_testeye, 8, sv.writeentitiestoclient_pvs, sizeof(sv.writeentitiestoclient_pvs), false); sv.writeentitiestoclient_cliententitynumber = PRVM_EDICT_TO_PROG(clent); // LordHavoc: for comparison purposes diff --git a/svvm_cmds.c b/svvm_cmds.c index 0c7e3907..3e655fde 100644 --- a/svvm_cmds.c +++ b/svvm_cmds.c @@ -696,7 +696,7 @@ static int VM_SV_newcheckclient (int check) VectorAdd(ent->fields.server->origin, ent->fields.server->view_ofs, org); checkpvsbytes = 0; if (sv.worldmodel && sv.worldmodel->brush.FatPVS) - checkpvsbytes = sv.worldmodel->brush.FatPVS(sv.worldmodel, org, 0, checkpvs, sizeof(checkpvs)); + checkpvsbytes = sv.worldmodel->brush.FatPVS(sv.worldmodel, org, 0, checkpvs, sizeof(checkpvs), false); return i; } -- 2.39.2