Con_Printf -> SV_Printf for some cases that should be

This commit is contained in:
Bill Currie 2001-10-27 22:33:42 +00:00
parent 10d83e090a
commit d62c381262
3 changed files with 8 additions and 8 deletions

View file

@ -747,7 +747,7 @@ SV_Ban_f (void)
return;
}
}
Con_Printf ("Couldn't find user %s\n", Cmd_Argv(1));
SV_Printf ("Couldn't find user %s\n", Cmd_Argv(1));
}
void

View file

@ -887,7 +887,7 @@ SVC_DirectConnect (void)
SV_Printf ("Spectator %s (%s) connected\n", newcl->name,
NET_AdrToString (adr));
else
Con_Printf ("Client %s (%s) connected\n", newcl->name,
SV_Printf ("Client %s (%s) connected\n", newcl->name,
NET_AdrToString (adr));
newcl->sendinfo = true;
@ -1624,16 +1624,16 @@ SV_SavePenaltyFilter (client_t *cl, filtertype_t type, double pentime)
for (i = 0; i < numipfilters; i++)
if (ipfilters[i].mask == 32 && SV_IPCompare (ipfilters[i].ip, b)
&& ipfilters[i].type == type) {
Con_Printf ("Penalty for user %d already exists\n", cl->userid);
SV_Printf ("Penalty for user %d already exists\n", cl->userid);
return;
}
if (numipfilters == MAX_IPFILTERS) {
Con_Printf ("IP filter list is full\n");
SV_Printf ("IP filter list is full\n");
return;
}
Con_Printf ("Penalty saved for user %d\n", cl->userid);
SV_Printf ("Penalty saved for user %d\n", cl->userid);
ipfilters[numipfilters].mask = 32;
SV_IPCopy (ipfilters[numipfilters].ip, b);
ipfilters[numipfilters].time = pentime;
@ -1653,7 +1653,7 @@ SV_RestorePenaltyFilter (client_t *cl, filtertype_t type)
// search for existing penalty filter of same type
for (i = 0; i < numipfilters; i++) {
if (type == ipfilters[i].type && SV_IPCompare (ip, ipfilters[i].ip)) {
Con_Printf ("Penalty restored for user %d\n", cl->userid);
SV_Printf ("Penalty restored for user %d\n", cl->userid);
return ipfilters[i].time;
}
}

View file

@ -1541,7 +1541,7 @@ PF_rotate_bbox (progs_t *pr)
VectorCopy (v[0], ch->mins);
VectorCopy (v[0], ch->maxs);
for (i = 0; i < 8; i++) {
//Con_Printf ("'%0.1f %0.1f %0.1f'\n", v[i][0], v[i][1], v[i][2]);
//SV_Printf ("'%0.1f %0.1f %0.1f'\n", v[i][0], v[i][1], v[i][2]);
for (j = 0; j < 3; j++) {
ch->mins[j] = min (ch->mins[j], v[i][j]);
ch->maxs[j] = max (ch->maxs[j], v[i][j]);
@ -1559,7 +1559,7 @@ PF_rotate_bbox (progs_t *pr)
offsets[j]);
hull->planes[i].type = 4;
VectorCopy (dir[i / 2], hull->planes[i].normal);
// Con_Printf ("%f %f %f %f\n",
// SV_Printf ("%f %f %f %f\n",
// hull->planes[i].dist,
// hull->planes[i].normal[0], hull->planes[i].normal[1],
// hull->planes[i].normal[2]);