]> 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)
committerbones_was_here <bones_was_here@xonotic.au>
Thu, 1 Aug 2024 17:57:20 +0000 (03:57 +1000)
commit2721283955f87131c48496c0dce49690260c249f
tree8bafba616f52f90205863ac59e77efe4241bb8c0
parent6f9cc79f5ebfcb46d62bf08835fb6330aa6862df
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