From c1da3b23b64e31eef6970a8eb021fc79bdd65e08 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Thu, 26 Jul 2007 07:15:52 +0000 Subject: fixed so that the latnecy doesn't update so fast --- src/game/client/game_client.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/game/client/game_client.cpp') diff --git a/src/game/client/game_client.cpp b/src/game/client/game_client.cpp index d29c6b7d..c49b45c9 100644 --- a/src/game/client/game_client.cpp +++ b/src/game/client/game_client.cpp @@ -1541,9 +1541,14 @@ void modc_render() sprintf(buf, "%4d", player->score); gfx_pretty_text(x+60-gfx_pretty_text_width(48,buf), y, 48, buf); gfx_pretty_text(x+128, y, 48, client_datas[player->clientid].name); + sprintf(buf, "%4d", player->latency); float tw = gfx_pretty_text_width(48.0f, buf); gfx_pretty_text(x+w-tw-20, y, 48, buf); + + /*sprintf(buf, "%4d", player->latency_flux); + tw = gfx_pretty_text_width(24.0f, buf); + gfx_pretty_text(x+w-tw-20, y+20, 24, buf);*/ render_tee(&idlestate, player->clientid, vec2(1,0), vec2(x+90, y+24)); y += 58.0f; -- cgit 1.4.1