summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2017-04-20 22:47:28 +0100
committerparamat <mat.gregory@virginmedia.com>2017-04-22 01:23:57 +0100
commit58c083f305d77bd3c7d366c1f0e4a54d80a51719 (patch)
treea4659b3f4e4bb6892d6314a1f97cb933a9401c83 /doc/lua_api.txt
parentcca58fe0fd1aac4246a23e1fc4f8469bdd280c6d (diff)
downloadminetest-58c083f305d77bd3c7d366c1f0e4a54d80a51719.tar.gz
minetest-58c083f305d77bd3c7d366c1f0e4a54d80a51719.tar.bz2
minetest-58c083f305d77bd3c7d366c1f0e4a54d80a51719.zip
Sneak glitch: Set default to false
The 'sneak glitch' physics override now controls whether a player can use the new move code replications of the old sneak side-effects: sneak ladders and 2 node sneak jump. This completes our intention to replicate the old sneak side-effects in new code and provide them as an option that is disabled by default.
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 774b1e992..33254fb2a 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -3038,7 +3038,7 @@ This is basically a reference to a C++ `ServerActiveObject`
* `sneak`: whether player can sneak (default: `true`)
* `sneak_glitch`: whether player can use the new move code replications
of the old sneak side-effects: sneak ladders and 2 node sneak jump
- when next to a ledge 2 nodes up (default: `true`)
+ (default: `false`)
* `new_move`: use new move/sneak code. When `false` the exact old code
is used for the specific old sneak behaviour (default: `true`)
* `get_physics_override()`: returns the table given to set_physics_override