From 24899a13e8863e59027e993a61e9b2ef6787b74b Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Wed, 21 Jan 2009 00:05:07 +0000 Subject: improved the prediction timer to handle crappy connections better --- src/game/client/components/controls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/client/components/controls.cpp') diff --git a/src/game/client/components/controls.cpp b/src/game/client/components/controls.cpp index 412dcf77..bdcea4d0 100644 --- a/src/game/client/components/controls.cpp +++ b/src/game/client/components/controls.cpp @@ -152,7 +152,7 @@ int CONTROLS::snapinput(int *data) else if(input_data.prev_weapon != last_data.prev_weapon) send = true; // send at at least 10hz - if(time_get() > last_send_time + time_freq()/10) + if(time_get() > last_send_time + time_freq()/25) send = true; } -- cgit 1.4.1