diff options
author | paramat <mat.gregory@virginmedia.com> | 2017-04-20 22:47:28 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-04-22 01:23:57 +0100 |
commit | 58c083f305d77bd3c7d366c1f0e4a54d80a51719 (patch) | |
tree | a4659b3f4e4bb6892d6314a1f97cb933a9401c83 /src | |
parent | cca58fe0fd1aac4246a23e1fc4f8469bdd280c6d (diff) | |
download | minetest-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 'src')
-rw-r--r-- | src/content_sao.cpp | 2 | ||||
-rw-r--r-- | src/localplayer.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/content_sao.cpp b/src/content_sao.cpp index 908365397..355453fc9 100644 --- a/src/content_sao.cpp +++ b/src/content_sao.cpp @@ -788,7 +788,7 @@ PlayerSAO::PlayerSAO(ServerEnvironment *env_, u16 peer_id_, bool is_singleplayer m_physics_override_jump(1), m_physics_override_gravity(1), m_physics_override_sneak(true), - m_physics_override_sneak_glitch(true), + m_physics_override_sneak_glitch(false), m_physics_override_new_move(true), m_physics_override_sent(false) { diff --git a/src/localplayer.cpp b/src/localplayer.cpp index ea4347207..ab44f155f 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -48,7 +48,7 @@ LocalPlayer::LocalPlayer(Client *client, const char *name): physics_override_jump(1.0f), physics_override_gravity(1.0f), physics_override_sneak(true), - physics_override_sneak_glitch(true), + physics_override_sneak_glitch(false), physics_override_new_move(true), // Temporary option for old move code overridePosition(v3f(0,0,0)), last_position(v3f(0,0,0)), |