]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
cl_net: fix two subtle flaws and simplify logic
authorbones_was_here <bones_was_here@xonotic.au>
Fri, 26 Jul 2024 10:36:27 +0000 (20:36 +1000)
committerDes <xon@damianv.com.ar>
Mon, 5 Aug 2024 11:59:15 +0000 (08:59 -0300)
commitb05cfcb87addc424cc3ac654a61ef8dc5d563ea5
treeb53646dc6c9d1e6dd7e9f22fa75dbf42b52bf33f
parent801605f9f6d61a742c4415c9abba69e411968398
cl_net: fix two subtle flaws and simplify logic

The code introduced in 42e86ab7892c3d8f5373402a714b73b2e040d81b had two
separate modes which was more complex than necessary and less robust in
high ping high jitter scenarios.

The 0ms packet check didn't work when the cause was aggressive time
synchronisation and a ping spike.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
cl_input.c