summaryrefslogtreecommitdiff
path: root/src/genericobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/genericobject.cpp')
-rw-r--r--src/genericobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/genericobject.cpp b/src/genericobject.cpp
index 78dc7fa91..5daba55ed 100644
--- a/src/genericobject.cpp
+++ b/src/genericobject.cpp
@@ -161,7 +161,7 @@ std::string gob_cmd_update_attachment(int parent_id, std::string bone, v3f posit
{
std::ostringstream os(std::ios::binary);
// command
- writeU8(os, GENERIC_CMD_SET_ATTACHMENT);
+ writeU8(os, GENERIC_CMD_ATTACH_TO);
// parameters
writeS16(os, parent_id);
os<<serializeString(bone);