diff options
author | Zeg9 <dazeg9@gmail.com> | 2012-12-27 14:22:59 +0100 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2013-04-03 23:22:40 +0200 |
commit | c1bf6f9f7a6d2c5bd743422593a5ec72939bc6af (patch) | |
tree | 5240ea28a91a97628d959217261901071a0882ba /src/localplayer.cpp | |
parent | f85c1165c2ea9abbfe426b014dacb7b04238fbea (diff) | |
download | minetest-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.cpp')
-rw-r--r-- | src/localplayer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index ee9b41c58..a90ae6967 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -35,6 +35,7 @@ with this program; if not, write to the Free Software Foundation, Inc., LocalPlayer::LocalPlayer(IGameDef *gamedef): Player(gamedef), + parent(0), isAttached(false), overridePosition(v3f(0,0,0)), last_position(v3f(0,0,0)), |