diff options
author | paramat <mat.gregory@virginmedia.com> | 2017-04-06 15:58:12 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-04-11 05:41:13 +0100 |
commit | 59911761ef529f118e7ba697d4f5983d43dbb383 (patch) | |
tree | 405f23520008a8702d162db43f4b3fc58b31e171 /src/tool.cpp | |
parent | eb587996e42544ec8624b256e6d5eea12f9bab88 (diff) | |
download | minetest-59911761ef529f118e7ba697d4f5983d43dbb383.tar.gz minetest-59911761ef529f118e7ba697d4f5983d43dbb383.tar.bz2 minetest-59911761ef529f118e7ba697d4f5983d43dbb383.zip |
Sneak glitch: Detect ledge for 2-node climb-up
Re-creates the old sneak-jump behaviour in new code.
Enabled by the 'sneak glitch' physics override.
When a ledge is detected the jump speed modifier is set to the larger
of 'physics override jump' and 1.3 to allow a 2-node climb-up.
An unexpected side-effect is the simple sneak ladder working smoothly.
Diffstat (limited to 'src/tool.cpp')
0 files changed, 0 insertions, 0 deletions