Fix player-to-object attachment teleport bug (#10008)
authorhecktest <42101236+hecktest@users.noreply.github.com>
Tue, 9 Jun 2020 17:36:47 +0000 (19:36 +0200)
committerGitHub <noreply@github.com>
Tue, 9 Jun 2020 17:36:47 +0000 (19:36 +0200)
commit09e285f38cd96b4278b921ab82c5266082bb1a0d
treeb81da3084e3b38812c9c5afd66e1d5ba742b0798
parentb9f618746c0f673ea1f851bb2473fb3ca9410093
Fix player-to-object attachment teleport bug (#10008)

Fixes two bugs:

 * The camera offset was not applied to an object while detaching, briefly placing the irrlicht matrixnode in world space.
 *  When attaching, the matrixnode's absolute position was evaluated without evaluating the parent first, resulting in zeroed positions.
src/client/content_cao.cpp