From c1bf6f9f7a6d2c5bd743422593a5ec72939bc6af Mon Sep 17 00:00:00 2001 From: Zeg9 Date: Thu, 27 Dec 2012 14:22:59 +0100 Subject: Fix camera "jumping" when attached and the parent goes too fast --- src/localplayer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/localplayer.cpp') 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)), -- cgit v1.2.3