diff options
author | red-001 <red-001@outlook.ie> | 2017-01-21 15:11:55 +0000 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-01-21 16:11:55 +0100 |
commit | 72535d33281ed4c863013590e5fd032c39f0b781 (patch) | |
tree | 7c19e3cbf592bce10bd91566f66489f62d8c1b7d /src/content_sao.h | |
parent | 0eede97af2927dcda3545192403b0a44f30bcd1f (diff) | |
download | minetest-72535d33281ed4c863013590e5fd032c39f0b781.tar.gz minetest-72535d33281ed4c863013590e5fd032c39f0b781.tar.bz2 minetest-72535d33281ed4c863013590e5fd032c39f0b781.zip |
Detach the player from entities on death. (#5077)
Diffstat (limited to 'src/content_sao.h')
-rw-r--r-- | src/content_sao.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/content_sao.h b/src/content_sao.h index 4abe93250..884f0f406 100644 --- a/src/content_sao.h +++ b/src/content_sao.h @@ -49,6 +49,7 @@ public: void setBonePosition(const std::string &bone, v3f position, v3f rotation); void getBonePosition(const std::string &bone, v3f *position, v3f *rotation); void setAttachment(int parent_id, const std::string &bone, v3f position, v3f rotation); + void detachFromParent(); void getAttachment(int *parent_id, std::string *bone, v3f *position, v3f *rotation); void addAttachmentChild(int child_id); void removeAttachmentChild(int child_id); |