summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_localplayer.cpp
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2017-04-06 15:58:12 +0100
committerparamat <mat.gregory@virginmedia.com>2017-04-11 05:41:13 +0100
commit59911761ef529f118e7ba697d4f5983d43dbb383 (patch)
tree405f23520008a8702d162db43f4b3fc58b31e171 /src/script/lua_api/l_localplayer.cpp
parenteb587996e42544ec8624b256e6d5eea12f9bab88 (diff)
downloadminetest-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/script/lua_api/l_localplayer.cpp')
0 files changed, 0 insertions, 0 deletions