Advertisement
Guest User

Untitled

a guest
Nov 1st, 2012
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. else if(cmd == GENERIC_CMD_SET_ATTACHMENT)
  2. {
  3. ClientActiveObject *obj;
  4. int parent_id = readS16(is);
  5. if(parent_id > 0)
  6. obj = m_env->getActiveObject(parent_id);
  7. else
  8. obj = NULL;
  9. m_attachment_parent = obj;
  10. m_attachment_bone = deSerializeString(is);
  11. m_attacmhent_position = readV3F1000(is);
  12. m_attachment_rotation = readV3F1000(is);
  13.  
  14. updateAttachments();
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement