added slightly modified boneanimlib to work better with pac3