]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
physics: fix a subtle prediction regression
authorbones_was_here <bones_was_here@xonotic.au>
Wed, 31 Jul 2024 11:11:42 +0000 (21:11 +1000)
committerDes <xon@damianv.com.ar>
Mon, 5 Aug 2024 11:59:15 +0000 (08:59 -0300)
commit801605f9f6d61a742c4415c9abba69e411968398
treefb3be2450d6259c802bdc5403c41d5d6e307dab2
parentaa47363129e78d8d8ff364f815891a24db8dbffd
physics: fix a subtle prediction regression

In 3d8f1ca7b142c0a9fd8c3b4a494b62dcce39ab71 a horizontal player speed
calculation was changed to include the vertical velocity and to no
longer be the speed, by use of the wrong macro.
This patch reverts those changes and adds a macro for this calculation.

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