]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix some errors
authorsajt <sajt@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 30 Sep 2007 23:53:26 +0000 (23:53 +0000)
committersajt <sajt@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 30 Sep 2007 23:53:26 +0000 (23:53 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7597 d7cf8633-e32d-0410-b094-e92efae38249

sv_main.c
svvm_cmds.c

index 7b56c8fc887c2ab2155935857d3a56f633d7cd9b..9384eb8e72ca28d04be19465415e42182bdbc24b 100644 (file)
--- 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
 
index 0c7e3907310764fbda8786ff39979671823c1e52..3e655fde20556987e3df895fdd7c2354094f0ea1 100644 (file)
@@ -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;
 }