summaryrefslogtreecommitdiff
path: root/src/genericobject.h
diff options
context:
space:
mode:
authorFoghrye4 <foghrye4@gmail.com>2016-10-08 16:51:25 +0400
committerNer'zhul <nerzhul@users.noreply.github.com>2016-10-08 14:51:25 +0200
commitad163ee5c3f7d6ca31e0add052fb76466a9bfcc8 (patch)
tree6eebdb83bb210f4f57caa4a0f57189d95666d9c2 /src/genericobject.h
parent9978d0796fa61eabb235d715a56ad6e5396d2e1e (diff)
downloadminetest-ad163ee5c3f7d6ca31e0add052fb76466a9bfcc8.tar.gz
minetest-ad163ee5c3f7d6ca31e0add052fb76466a9bfcc8.tar.bz2
minetest-ad163ee5c3f7d6ca31e0add052fb76466a9bfcc8.zip
Prevent attached models from disappearing during parent reload (#4128)
Diffstat (limited to 'src/genericobject.h')
-rw-r--r--src/genericobject.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/genericobject.h b/src/genericobject.h
index b92570831..48e71db75 100644
--- a/src/genericobject.h
+++ b/src/genericobject.h
@@ -35,7 +35,8 @@ enum GenericCMD {
GENERIC_CMD_SET_BONE_POSITION,
GENERIC_CMD_ATTACH_TO,
GENERIC_CMD_SET_PHYSICS_OVERRIDE,
- GENERIC_CMD_UPDATE_NAMETAG_ATTRIBUTES
+ GENERIC_CMD_UPDATE_NAMETAG_ATTRIBUTES,
+ GENERIC_CMD_SPAWN_INFANT
};
#include "object_properties.h"
@@ -77,5 +78,7 @@ std::string gob_cmd_update_attachment(int parent_id, std::string bone, v3f posit
std::string gob_cmd_update_nametag_attributes(video::SColor color);
+std::string gob_cmd_update_infant(u16 id, u8 type, std::string client_initialization_data);
+
#endif