]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Fix inconsistent jumps on jumppads controlled by a trigger_multiple entity when playe... terencehill/stepdown_with_jumppad-fix
authorterencehill <piuntn@gmail.com>
Thu, 18 Apr 2024 17:35:13 +0000 (19:35 +0200)
committerterencehill <piuntn@gmail.com>
Thu, 18 Apr 2024 17:35:13 +0000 (19:35 +0200)
commit8620d5550cc3f7c01f7ddfcd8ffeba657bfb4385
tree314f9c4989662d95fb9ea1348af9d441201efc13
parent92ed8676406adec14dbb1452b4d3e6a812c9796e
Fix inconsistent jumps on jumppads controlled by a trigger_multiple entity when player walks towards them

With such jumppads the push event happens only once (unlike conventional jumppads) so sv_gameplayfix_stepdown 2 immediate and unwanted speed change was preserved whereas with conventional jumppads the next push events override that speed change
qcsrc/common/mapobjects/trigger/jumppads.qc
qcsrc/common/mapobjects/trigger/jumppads.qh
qcsrc/common/physics/movetypes/walk.qc
qcsrc/server/client.qc