Attachments: Fix attachments to temporary removed objects (#8989)
authorSmallJoker <SmallJoker@users.noreply.github.com>
Wed, 2 Oct 2019 17:11:27 +0000 (19:11 +0200)
committerGitHub <noreply@github.com>
Wed, 2 Oct 2019 17:11:27 +0000 (19:11 +0200)
commit81c2370c8b1a66a279a5ff450c78caf5dfef77bf
treedafd49bfa912783985b5a58713805027f06322b4
parent251038e136f22f29999bd938e6c9e9f1a5269243
Attachments: Fix attachments to temporary removed objects (#8989)

Does not clear the parent's attachment information when the child is deleted locally.
Either it was removed permanently, or just temporary - we don't know, but it's up to the server to send a *detach from child" packet for the parent.
src/client/clientenvironment.cpp
src/client/clientenvironment.h
src/client/content_cao.cpp
src/client/content_cao.h
src/content_sao.cpp
src/server.cpp