]> 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)
committerbones_was_here <bones_was_here@xonotic.au>
Thu, 1 Aug 2024 17:57:27 +0000 (03:57 +1000)
commit9044f9f7e6594a263432ed8075aaad3509821698
treef162eb545049bcfd8afef10a9c794793386cb3d1
parent2721283955f87131c48496c0dce49690260c249f
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