From 8d03301138c0e82728d61b957ea47a5a4061633a Mon Sep 17 00:00:00 2001 From: TeTpaAka Date: Fri, 3 Jul 2015 12:31:34 +0200 Subject: Fix invisible player when the attached entity is removed --- src/serverobject.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/serverobject.h') 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 getAttachmentChildIds() + { return std::set(); } virtual ObjectProperties* accessObjectProperties() { return NULL; } virtual void notifyObjectPropertiesModified() -- cgit v1.2.3