summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/player.h b/src/player.h
index 27ce1f5aa..16de6c924 100644
--- a/src/player.h
+++ b/src/player.h
@@ -323,7 +323,9 @@ public:
private:
// This is used for determining the sneaking range
- v3s16 m_last_walked_node;
+ v3s16 m_sneak_node;
+ // Whether the player is allowed to sneak
+ bool m_sneak_node_exists;
};
#endif // !SERVER