diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-12-17 22:14:00 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-12-17 22:14:00 +0000 |
| commit | c2b650a21718dd7b16f1464ceb9bf22a3be62461 (patch) | |
| tree | 744952d8877f4e6b802e064107b13a64da0500ee /src/engine/client | |
| parent | b6ccb8bd8b2f12707ea4150687d2ae481af4ecdb (diff) | |
| download | zcatch-c2b650a21718dd7b16f1464ceb9bf22a3be62461.tar.gz zcatch-c2b650a21718dd7b16f1464ceb9bf22a3be62461.zip | |
cleaned up abit. halfed the default snapping rate. fixed different snapping rates, init, full and recover to help the bandwidth.
Diffstat (limited to 'src/engine/client')
| -rw-r--r-- | src/engine/client/ec_client.c | 7 |
1 files changed, 6 insertions, 1 deletions
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()) { |