Detach the player from entities on death. (#5077)

This commit is contained in:
red-001
2017-01-21 15:11:55 +00:00
committed by Loïc Blot
parent 0eede97af2
commit 72535d3328
5 changed files with 16 additions and 14 deletions

View File

@@ -166,6 +166,8 @@ class ServerActiveObject : public ActiveObject
{}
virtual void removeAttachmentChild(int child_id)
{}
virtual void detachFromParent()
{}
virtual const UNORDERED_SET<int> &getAttachmentChildIds()
{ static const UNORDERED_SET<int> rv; return rv; }
virtual ObjectProperties* accessObjectProperties()