1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Fix camera "jumping" when attached and the parent goes too fast

This commit is contained in:
Zeg9 2012-12-27 14:22:59 +01:00 committed by PilzAdam
parent f85c1165c2
commit c1bf6f9f7a
4 changed files with 8 additions and 0 deletions

View file

@ -1129,6 +1129,7 @@ public:
{
LocalPlayer *player = m_env->getLocalPlayer();
player->overridePosition = getParent()->getPosition();
m_env->getLocalPlayer()->parent = getParent();
}
}
else