mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-04-25 07:41:01 +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)
|
void SV_Status_f (void)
|
||||||
{
|
{
|
||||||
int i, j, l;
|
int i;
|
||||||
client_t *cl;
|
client_t *cl;
|
||||||
float cpu, avg, pak;
|
float cpu, avg, pak;
|
||||||
char *s;
|
char *s;
|
||||||
|
@ -472,15 +472,11 @@ void SV_Status_f (void)
|
||||||
Con_Printf ("%5i %6i ", (int)cl->edict->v.frags, cl->userid);
|
Con_Printf ("%5i %6i ", (int)cl->edict->v.frags, cl->userid);
|
||||||
|
|
||||||
s = NET_BaseAdrToString ( cl->netchan.remote_address);
|
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);
|
Con_Printf ("%-15.15s ", s);
|
||||||
l = 16 - strlen(cl->name);
|
|
||||||
for (j=0 ; j<l ; j++)
|
Con_Printf ("%-15.15s ", cl->name);
|
||||||
Con_Printf (" ");
|
|
||||||
if (cl->state == cs_connected)
|
if (cl->state == cs_connected)
|
||||||
{
|
{
|
||||||
Con_Printf ("CONNECTING\n");
|
Con_Printf ("CONNECTING\n");
|
||||||
|
|
Loading…
Reference in a new issue