daily pastebin goal
63%
SHARE
TWEET

Untitled

a guest Nov 1st, 2012 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.                 }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top