about summary refs log tree commit diff
path: root/src/game/client/components/controls.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-21 00:05:07 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-21 00:05:07 +0000
commit24899a13e8863e59027e993a61e9b2ef6787b74b (patch)
treeb12072e289b28395b63b677336815ec472479eb6 /src/game/client/components/controls.cpp
parent30695c09a8fde8b88b8fa58427e0eb2293696e58 (diff)
downloadzcatch-24899a13e8863e59027e993a61e9b2ef6787b74b.tar.gz
zcatch-24899a13e8863e59027e993a61e9b2ef6787b74b.zip
improved the prediction timer to handle crappy connections better
Diffstat (limited to 'src/game/client/components/controls.cpp')
-rw-r--r--src/game/client/components/controls.cpp2
1 files changed, 1 insertions, 1 deletions
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;
 	}