summaryrefslogtreecommitdiff
path: root/src/serverobject.h
diff options
context:
space:
mode:
authorTeTpaAka <TeTpaAka@users.noreply.github.com>2015-07-03 12:31:34 +0200
committerest31 <MTest31@outlook.com>2015-07-18 07:41:43 +0200
commit8d03301138c0e82728d61b957ea47a5a4061633a (patch)
treebafa658a24d90ec5381f3a21e93803dc0165a1b5 /src/serverobject.h
parent9c76f379acb12246fb1e282661e67b9da4cdcb62 (diff)
downloadminetest-8d03301138c0e82728d61b957ea47a5a4061633a.tar.gz
minetest-8d03301138c0e82728d61b957ea47a5a4061633a.tar.bz2
minetest-8d03301138c0e82728d61b957ea47a5a4061633a.zip
Fix invisible player when the attached entity is removed
Diffstat (limited to 'src/serverobject.h')
-rw-r--r--src/serverobject.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/serverobject.h b/src/serverobject.h
index 7204fe3ae..597eb63a8 100644
--- a/src/serverobject.h
+++ b/src/serverobject.h
@@ -163,6 +163,12 @@ public:
{}
virtual void getAttachment(int *parent_id, std::string *bone, v3f *position, v3f *rotation)
{}
+ virtual void addAttachmentChild(int child_id)
+ {}
+ virtual void removeAttachmentChild(int child_id)
+ {}
+ virtual std::set<int> getAttachmentChildIds()
+ { return std::set<int>(); }
virtual ObjectProperties* accessObjectProperties()
{ return NULL; }
virtual void notifyObjectPropertiesModified()