summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h
index 1c9dde7e0..5091cf6c8 100644
--- a/src/player.h
+++ b/src/player.h
@@ -251,6 +251,13 @@ public:
PlayerControl control;
+
+ inline void Link(bool value) {
+ m_linked = value;
+ }
+
+ bool m_linked;
+
private:
// This is used for determining the sneaking range
v3s16 m_sneak_node;