]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
server: Limit moveframetime to a multiple of sv.frametime
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 29 Mar 2021 20:55:11 +0000 (20:55 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 29 Mar 2021 20:55:11 +0000 (20:55 +0000)
commit8881e4f2a4725a8e45db56db3e280b2361c5b3fe
tree6f8ee035afd8523e44e6b5220f494ccd03ee8ce4
parentd393a999100dfd746063ea58dc277dfa75333419
server: Limit moveframetime to a multiple of sv.frametime

Matches clmovement_inputtimeout decrementing behaviour and prevents player speed bugs with certain ticrate/inputtimeout/netfps combos.

Also use maximum of 0.1 for the timeout, not just the moveframetime limit.

From bones_was_here

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13099 d7cf8633-e32d-0410-b094-e92efae38249
sv_main.c
sv_user.c