From 6ceb101ba1c3d56e83e29c4492840d47c0dd2785 Mon Sep 17 00:00:00 2001 From: SNMetamorph <25657591+SNMetamorph@users.noreply.github.com> Date: Sat, 5 Jun 2021 19:57:16 +0400 Subject: [PATCH] engine: client: correctly named values in net_speeds stats --- engine/client/cl_scrn.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/engine/client/cl_scrn.c b/engine/client/cl_scrn.c index 125dc0e2..afc3a959 100644 --- a/engine/client/cl_scrn.c +++ b/engine/client/cl_scrn.c @@ -183,8 +183,18 @@ void SCR_NetSpeeds( void ) if( cur_clfps > max_clfps ) max_clfps = cur_clfps; } - Q_snprintf( msg, sizeof( msg ), "sv fps: ^1%4i min, ^3%4i cur, ^2%4i max\ncl fps: ^1%4i min, ^3%4i cur, ^2%4i max\nGame Time: %02d:%02d\nTotal received from server: %s\nTotal sent to server: %s\n", - min_svfps, cur_svfps, max_svfps, min_clfps, cur_clfps, max_clfps, (int)(time / 60.0f ), (int)fmod( time, 60.0f ), Q_memprint( cls.netchan.total_received ), Q_memprint( cls.netchan.total_sended )); + Q_snprintf( msg, sizeof( msg ), + "Updaterate: ^1%2i min, ^3%2i cur, ^2%2i max\n" + "Client FPS: ^1%i min, ^3%3i cur, ^2%3i max\n" + "Game Time: %02d:%02d\n" + "Total received from server: %s\n" + "Total sent to server: %s\n", + min_svfps, cur_svfps, max_svfps, + min_clfps, cur_clfps, max_clfps, + (int)(time / 60.0f ), (int)fmod( time, 60.0f ), + Q_memprint( cls.netchan.total_received ), + Q_memprint( cls.netchan.total_sended ) + ); x = refState.width - 320; y = 384;