Localplayer: Fix disable_jump effect and getStandingNodePos()

Leave the old move code untouched.
This commit is contained in:
SmallJoker
2017-09-23 16:29:48 +02:00
parent 9927076b47
commit ab72100a2c
2 changed files with 42 additions and 17 deletions

View File

@@ -146,6 +146,7 @@ class LocalPlayer : public Player
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