]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/localplayer.h
Update Lua API documentation to include minetest.get_modnames()
[dragonfireclient.git] / src / localplayer.h
index ef2b32cca4903398953e57de0ffe639a1d1b02ea..9a9767d38eb36ca533a0fc7c127ebc857e057556 100644 (file)
@@ -95,6 +95,12 @@ class LocalPlayer : public Player
        v3s16 m_sneak_node;
        // Whether the player is allowed to sneak
        bool m_sneak_node_exists;
+       // Node below player, used to determine whether it has been removed,
+       // and its old type
+       v3s16 m_old_node_below;
+       std::string m_old_node_below_type;
+       // Whether recalculation of the sneak node is needed
+       bool m_need_to_get_new_sneak_node;
 };
 
 #endif