aboutsummaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorZeg9 <dazeg9@gmail.com>2012-12-27 14:22:59 +0100
committerPilzAdam <pilzadam@minetest.net>2013-04-03 23:22:40 +0200
commitc1bf6f9f7a6d2c5bd743422593a5ec72939bc6af (patch)
tree5240ea28a91a97628d959217261901071a0882ba /src/localplayer.h
parentf85c1165c2ea9abbfe426b014dacb7b04238fbea (diff)
downloadminetest-c1bf6f9f7a6d2c5bd743422593a5ec72939bc6af.tar.gz
minetest-c1bf6f9f7a6d2c5bd743422593a5ec72939bc6af.tar.bz2
minetest-c1bf6f9f7a6d2c5bd743422593a5ec72939bc6af.zip
Fix camera "jumping" when attached and the parent goes too fast
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index 17434d379..9ac2bc682 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -25,6 +25,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
class ClientEnvironment;
+class ClientActiveObject;
+
class LocalPlayer : public Player
{
public:
@@ -35,6 +37,8 @@ public:
{
return true;
}
+
+ ClientActiveObject *parent;
bool isAttached;