summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
authorsapier <sapier at gmx dot net>2012-02-07 21:37:42 +0100
committersapier <sapier at gmx dot net>2012-02-07 21:37:42 +0100
commit52996cd5eb8939686b8a3eb9f075043c67d1355c (patch)
tree1489a64b177f77020de9510ff5568bda885ffb20 /src/player.h
parent61ae136431bebd88796ea0789842611a36b7c424 (diff)
downloadminetest-sapier-20120207.tar.xz
maualy merged object linking interface from cao_sao_split patchsapier-20120207
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;