]> icculus.org git repositories - divverent/darkplaces.git/commit
For some reason, cl_netinputpacketsperserverpacket > 1 causes choppiness when cl_move...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 20 Jan 2008 19:45:25 +0000 (19:45 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 20 Jan 2008 19:45:25 +0000 (19:45 +0000)
commitfe9705bec290c8b98f8c8c4841e31c9a9e7cd62a
tree95aca7cd4c15d86c2822e8f29fea73864534db52
parent705afcd26bd11d9bfb2624ecca81778c6152b000
For some reason, cl_netinputpacketsperserverpacket > 1 causes choppiness when cl_movement is active and fps are high.

As workaround, disable the "replying to server frames" code for cl_netinputpacketsperserverpacket > 1, and make it ONLY respond to server frames (or after 0.1s when no server frame came) when set to 0. 0 MAY be a bit more smooth than 1, but something tells me it is LESS smooth when packet loss is involved.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7985 d7cf8633-e32d-0410-b094-e92efae38249
cl_input.c