Attachments: Fix interpolation from (0,0,0) after detach
authorSmallJoker <mk939@ymail.com>
Wed, 27 Nov 2019 19:36:51 +0000 (20:36 +0100)
committerSmallJoker <SmallJoker@users.noreply.github.com>
Sat, 7 Dec 2019 14:12:26 +0000 (15:12 +0100)
commitaa8df112ff42d94b6dc59a0153d989bd8c0b115e
tree3488aea2ccd10228740d810f9a34da2260c95a57
parent51f230895c2b6d99a6fddc1c235140fcf9938742
Attachments: Fix interpolation from (0,0,0) after detach

GenericCAO::getPosition() did not take the camera offset into account
LocalPlayer attachment cleanup: Use sane getParent() function
Make that getPosition() (GenericCAO and LocalPlayer) always return the absolute position
src/client/camera.cpp
src/client/clientobject.h
src/client/content_cao.cpp
src/client/content_cao.h
src/client/localplayer.cpp
src/client/localplayer.h
src/script/lua_api/l_localplayer.cpp