diff --git a/engine/client/cl_demo.c b/engine/client/cl_demo.c index 75784028d..4c2780188 100644 --- a/engine/client/cl_demo.c +++ b/engine/client/cl_demo.c @@ -2801,7 +2801,7 @@ void CL_QTVPlay_f (void) char *host; char msg[4096]; int msglen=0; - char *password; +// char *password; if (Cmd_Argc() < 2) { @@ -2843,7 +2843,7 @@ void CL_QTVPlay_f (void) else host = NULL; - password = Cmd_Argv(2); +// password = Cmd_Argv(2); if (qtvcl_forceversion1.ival) { diff --git a/engine/client/cl_parse.c b/engine/client/cl_parse.c index 30d833520..8b5782155 100644 --- a/engine/client/cl_parse.c +++ b/engine/client/cl_parse.c @@ -3101,7 +3101,7 @@ static void CLQW_ParseServerData (void) } else if (cls.fteprotocolextensions2 & PEXT2_MAXPLAYERS) { - qboolean spec = false; +// qboolean spec = false; cl.allocated_client_slots = MSG_ReadByte(); if (cl.allocated_client_slots > MAX_CLIENTS) { @@ -3113,7 +3113,7 @@ static void CLQW_ParseServerData (void) cl.splitclients = MSG_ReadByte(); if (cl.splitclients & 128) { - spec = true; +// spec = true; cl.splitclients &= ~128; } if (cl.splitclients > MAX_SPLITS) diff --git a/engine/server/sv_init.c b/engine/server/sv_init.c index 8b222d592..1f55a16e5 100644 --- a/engine/server/sv_init.c +++ b/engine/server/sv_init.c @@ -447,7 +447,7 @@ void SV_CalcPHS (void) int i, j, k, l, index, num; int bitbyte; unsigned *dest, *src; - qbyte *scan, pvs; + qbyte *scan, *pvs; int count, vcount; model_t *model = sv.world.worldmodel; pvsbuffer_t buf; diff --git a/engine/server/svq3_game.c b/engine/server/svq3_game.c index dc3baf272..b6863fea6 100644 --- a/engine/server/svq3_game.c +++ b/engine/server/svq3_game.c @@ -2371,7 +2371,6 @@ void SVQ3_BuildClientSnapshot( client_t *client ) // check for SVF_PORTAL entities first for( i=0 ; is.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), &pvsbuffer, PVM_MERGE); + sv.world.worldmodel->funcs.ClusterPVS(sv.world.worldmodel, CM_LeafCluster(sv.world.worldmodel, portalarea), &pvsbuffer, PVM_MERGE); //and merge areas, so we can see the world too (client will calc its own pvs) portalarea = CM_LeafArea(sv.world.worldmodel, portalarea); CM_WriteAreaBits(sv.world.worldmodel, snap->areabits, portalarea, true);