diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-10-20 22:36:10 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-10-20 22:36:10 +0000 |
| commit | 8eee526360fbef761da973ff9932e629c5153896 (patch) | |
| tree | 77e464d888217c1e18751832f281c33761dc6857 /src/engine/client/ec_client.c | |
| parent | e4c0e6cb806800ce1e93bb8e7d17462cd7e1c739 (diff) | |
| download | zcatch-8eee526360fbef761da973ff9932e629c5153896.tar.gz zcatch-8eee526360fbef761da973ff9932e629c5153896.zip | |
removed snaploss counter
Diffstat (limited to 'src/engine/client/ec_client.c')
| -rw-r--r-- | src/engine/client/ec_client.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/engine/client/ec_client.c b/src/engine/client/ec_client.c index 5c91fd32..96e97af1 100644 --- a/src/engine/client/ec_client.c +++ b/src/engine/client/ec_client.c @@ -59,7 +59,6 @@ static float frametime_high = 0.0f; static int frames = 0; static NETADDR server_address; static int window_must_refocus = 0; -static int snaploss = 0; static int snapcrcerrors = 0; static int ack_game_tick = -1; @@ -619,9 +618,8 @@ static void client_debug_render() total = 42 */ frametime_avg = frametime_avg*0.9f + frametime*0.1f; - str_format(buffer, sizeof(buffer), "ticks: %8d %8d snaploss: %d mem %dk %d gfxmem: %dk fps: %3d", + str_format(buffer, sizeof(buffer), "ticks: %8d %8d mem %dk %d gfxmem: %dk fps: %3d", current_tick, current_predtick, - snaploss, mem_stats()->allocated/1024, mem_stats()->total_allocations, gfx_memory_usage()/1024, @@ -1181,8 +1179,6 @@ static void client_process_packet(NETCHUNK *packet) /* apply snapshot, cycle pointers */ recived_snapshots++; - if(current_recv_tick > 0) - snaploss += game_tick-current_recv_tick-2; current_recv_tick = game_tick; /* we got two snapshots until we see us self as connected */ |