mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-01-22 07:51:20 +00:00
Patch by Nye Liu <nyet>
This commit is contained in:
parent
8b573f8d7e
commit
20735dd8f7
1 changed files with 10 additions and 14 deletions
|
@ -408,7 +408,7 @@ SV_Status_f
|
|||
*/
|
||||
void SV_Status_f (void)
|
||||
{
|
||||
int i, j, l;
|
||||
int i;
|
||||
client_t *cl;
|
||||
float cpu, avg, pak;
|
||||
char *s;
|
||||
|
@ -472,15 +472,11 @@ void SV_Status_f (void)
|
|||
Con_Printf ("%5i %6i ", (int)cl->edict->v.frags, cl->userid);
|
||||
|
||||
s = NET_BaseAdrToString ( cl->netchan.remote_address);
|
||||
Con_Printf ("%s", s);
|
||||
l = 16 - strlen(s);
|
||||
for (j=0 ; j<l ; j++)
|
||||
Con_Printf (" ");
|
||||
|
||||
Con_Printf ("%s", cl->name);
|
||||
l = 16 - strlen(cl->name);
|
||||
for (j=0 ; j<l ; j++)
|
||||
Con_Printf (" ");
|
||||
Con_Printf ("%-15.15s ", s);
|
||||
|
||||
Con_Printf ("%-15.15s ", cl->name);
|
||||
|
||||
if (cl->state == cs_connected)
|
||||
{
|
||||
Con_Printf ("CONNECTING\n");
|
||||
|
|
Loading…
Reference in a new issue