mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix camera "jumping" when attached and the parent goes too fast
This commit is contained in:
parent
f85c1165c2
commit
c1bf6f9f7a
4 changed files with 8 additions and 0 deletions
|
@ -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)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue