From c2b650a21718dd7b16f1464ceb9bf22a3be62461 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Mon, 17 Dec 2007 22:14:00 +0000 Subject: cleaned up abit. halfed the default snapping rate. fixed different snapping rates, init, full and recover to help the bandwidth. --- src/engine/client/ec_client.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/engine/client/ec_client.c') diff --git a/src/engine/client/ec_client.c b/src/engine/client/ec_client.c index 78e7877c..0095eb04 100644 --- a/src/engine/client/ec_client.c +++ b/src/engine/client/ec_client.c @@ -799,7 +799,6 @@ static void client_process_packet(NETPACKET *packet) /* apply snapshot, cycle pointers */ recived_snapshots++; - if(current_recv_tick > 0) snaploss += game_tick-current_recv_tick-1; @@ -1098,6 +1097,12 @@ static void client_run() /* be nice */ if(config.cl_cpu_throttle || !gfx_window_active()) thread_sleep(1); + + if(config.dbg_hitch) + { + thread_sleep(config.dbg_hitch); + config.dbg_hitch = 0; + } if(reporttime < time_get()) { -- cgit 1.4.1