diff options
| author | sapier <sapier at gmx dot net> | 2012-01-15 22:41:10 +0100 |
|---|---|---|
| committer | sapier <sapier at gmx dot net> | 2012-01-15 22:41:10 +0100 |
| commit | c17133d80a82a0f357214858ece0cc55744771a6 (patch) | |
| tree | e726789957432ad47e87f6ef56f96fbe5688dd5e /src/player.h | |
| parent | 14a64000ea3d3b289d0e430fd59e6f91836e5ca3 (diff) | |
| download | minetest-sapier-20120115.tar.xz | |
added player link supportsapier-20120115
Diffstat (limited to 'src/player.h')
| -rw-r--r-- | src/player.h | 7 |
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; |
