From c79402d07539ac95c4d6ceb6defedf69dbf91709 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sat, 10 Jan 2009 11:50:31 +0000 Subject: increased input snapping rate from 5hz to 10hz inorder to predict the network latency better --- src/game/client/components/controls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/client/components/controls.cpp b/src/game/client/components/controls.cpp index 12eabdd0..63a081eb 100644 --- a/src/game/client/components/controls.cpp +++ b/src/game/client/components/controls.cpp @@ -142,7 +142,7 @@ int CONTROLS::snapinput(int *data) else if(input_data.next_weapon != last_data.next_weapon) send = true; else if(input_data.prev_weapon != last_data.prev_weapon) send = true; - if(time_get() > last_send_time + time_freq()/5) + if(time_get() > last_send_time + time_freq()/10) send = true; last_data = input_data; -- cgit 1.4.1