mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 10:30:00 +00:00
engine: client: cl_netgraph: added kilobytes per seconds unit to in/out fields
This commit is contained in:
parent
d4bb5423ae
commit
a68afcc672
@ -396,10 +396,10 @@ static void NetGraph_DrawTextFields( int x, int y, int w, wrect_t rect, int coun
|
|||||||
if( !out ) out = lastout;
|
if( !out ) out = lastout;
|
||||||
else lastout = out;
|
else lastout = out;
|
||||||
|
|
||||||
Con_DrawString( x, y, va( "in : %i %.2f k/s", netstat_graph[j].msgbytes, cls.netchan.flow[FLOW_INCOMING].avgkbytespersec ), colors );
|
Con_DrawString( x, y, va( "in : %i %.2f kb/s", netstat_graph[j].msgbytes, cls.netchan.flow[FLOW_INCOMING].avgkbytespersec ), colors );
|
||||||
y += 15;
|
y += 15;
|
||||||
|
|
||||||
Con_DrawString( x, y, va( "out: %i %.2f k/s", out, cls.netchan.flow[FLOW_OUTGOING].avgkbytespersec ), colors );
|
Con_DrawString( x, y, va( "out: %i %.2f kb/s", out, cls.netchan.flow[FLOW_OUTGOING].avgkbytespersec ), colors );
|
||||||
y += 15;
|
y += 15;
|
||||||
|
|
||||||
if( graphtype > 2 )
|
if( graphtype > 2 )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user