diff options
author | SmallJoker <mk939@ymail.com> | 2017-09-23 16:29:48 +0200 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2018-06-03 17:31:59 +0200 |
commit | ab72100a2cf76a64218bbdf8a4dc9f3eae25a72f (patch) | |
tree | 604f487e9685c69b097e060b6dd005694f2e9a8a /src/localplayer.h | |
parent | 9927076b474f95e7b8fe10ac536f38cec3b716c9 (diff) | |
download | minetest-ab72100a2cf76a64218bbdf8a4dc9f3eae25a72f.tar.gz minetest-ab72100a2cf76a64218bbdf8a4dc9f3eae25a72f.tar.bz2 minetest-ab72100a2cf76a64218bbdf8a4dc9f3eae25a72f.zip |
Localplayer: Fix disable_jump effect and getStandingNodePos()
Leave the old move code untouched.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index 32714ff32..c371b345c 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -146,6 +146,7 @@ private: bool updateSneakNode(Map *map, const v3f &position, const v3f &sneak_max); v3f m_position; + v3s16 m_standing_node; v3s16 m_sneak_node = v3s16(32767, 32767, 32767); // Stores the top bounding box of m_sneak_node |