]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Make stepping up while jumping reliable bones_was_here/stepup_reliability
authorbones_was_here <bones_was_here@xa.org.au>
Mon, 27 Sep 2021 23:31:48 +0000 (09:31 +1000)
committerbones_was_here <bones_was_here@xa.org.au>
Sun, 9 Jan 2022 12:26:56 +0000 (22:26 +1000)
When the player is hard up against a solid surface trying to climb up, they are blocked from gaining any significant speed by the solid, so the distance they could potentially move into the solid at that speed can be well under 0.03125 units, causing the step up to fail.

The same can happen when the player is stepping up with less than 0.03125 units of distance left on their move, causing them to stop dead when climbing stairs at speed with sv_gameplayfix_stepmultipletimes 1.

Fixes https://github.com/DarkPlacesEngine/darkplaces/issues/8
Stepping up is unreliable #8

Signed-off-by: bones_was_here <bones_was_here@xa.org.au>

No differences found