Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- else if(cmd == GENERIC_CMD_SET_ATTACHMENT)
- {
- ClientActiveObject *obj;
- int parent_id = readS16(is);
- if(parent_id > 0)
- obj = m_env->getActiveObject(parent_id);
- else
- obj = NULL;
- m_attachment_parent = obj;
- m_attachment_bone = deSerializeString(is);
- m_attacmhent_position = readV3F1000(is);
- m_attachment_rotation = readV3F1000(is);
- updateAttachments();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement