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, 4 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h
index 69db8ac51..d306cd63e 100644
--- a/src/player.h
+++ b/src/player.h
@@ -240,6 +240,10 @@ 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;