diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-07-26 07:15:52 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-07-26 07:15:52 +0000 |
| commit | c1da3b23b64e31eef6970a8eb021fc79bdd65e08 (patch) | |
| tree | 21db1c457c9ae76c615f031cc3a0052a7432f827 /src/game/client/game_client.cpp | |
| parent | 02de6728983454da110e5d2c9758c3baee6e68de (diff) | |
| download | zcatch-c1da3b23b64e31eef6970a8eb021fc79bdd65e08.tar.gz zcatch-c1da3b23b64e31eef6970a8eb021fc79bdd65e08.zip | |
fixed so that the latnecy doesn't update so fast
Diffstat (limited to 'src/game/client/game_client.cpp')
| -rw-r--r-- | src/game/client/game_client.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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; |