Sneak: Fix various problems with sneaking
authorsfan5 <sfan5@live.de>
Wed, 1 Mar 2017 19:10:30 +0000 (20:10 +0100)
committerparamat <mat.gregory@virginmedia.com>
Thu, 16 Mar 2017 02:52:59 +0000 (02:52 +0000)
commit14aa990cdd682b00904c4a84968a6c0e3c31716d
treed4bb64f4fe73af385485935bd25f41f451cd5cea
parentc05dfac9a309c7aef1b908ac0070ca71b587f75d
Sneak: Fix various problems with sneaking

Sneaking won't actually hover you in the air, releasing shift guarantees not
falling down (same as in MC).
Sneak-jump no longer goes higher than a normal jump (^ was required for this).
Sneaking no longer avoids fall damage.
You can sneak on partial nodes (slabs, sideways slabs) correctly.
Sneaking doesn't "go out" as far anymore (0.29 instead of 0.4).
Can't jump when sneaking out as far as possible (breaks the sneak ladder).
src/localplayer.cpp
src/localplayer.h