diff --git a/Quake/sv_main.c b/Quake/sv_main.c index 5b9e1206..91deeac9 100644 --- a/Quake/sv_main.c +++ b/Quake/sv_main.c @@ -127,7 +127,7 @@ void SV_Init (void) default: Sys_Error ("Bad protocol version request %i. Accepted values: %i, %i, %i.", sv_protocol, PROTOCOL_NETQUAKE, PROTOCOL_FITZQUAKE, PROTOCOL_RMQ); - p = "Unknown"; + return; /* silence compiler */ } Sys_Printf ("Server using protocol %i (%s)\n", sv_protocol, p); } @@ -566,7 +566,7 @@ void SV_WriteEntitiesToClient (edict_t *clent, sizebuf_t *msg) // find the client's PVS VectorAdd (clent->v.origin, clent->v.view_ofs, org); pvs = SV_FatPVS (org, sv.worldmodel); - + // send over all entities (excpet the client) that touch the pvs ent = NEXT_EDICT(sv.edicts); for (e=1 ; e