|
@@ -81,9 +81,14 @@ BoneFrame::BoneFrame(TombRaider &tr, unsigned int index, unsigned int i, unsigne
|
81
|
81
|
tr2_moveable_t *moveable = tr.Moveable();
|
82
|
82
|
tr2_item_t *item = tr.Item();
|
83
|
83
|
|
84
|
|
- pos[0] = (short)*frame[*frame_offset + 6];
|
85
|
|
- pos[1] = (short)*frame[*frame_offset + 7];
|
86
|
|
- pos[2] = (short)*frame[*frame_offset + 8];
|
|
84
|
+ /*!
|
|
85
|
+ * \fixme Do we really need to keep frame and frame_offset
|
|
86
|
+ * at the top level, passing pointers?!
|
|
87
|
+ */
|
|
88
|
+
|
|
89
|
+ pos[0] = (short)((*frame)[(*frame_offset) + 6]);
|
|
90
|
+ pos[1] = (short)((*frame)[(*frame_offset) + 7]);
|
|
91
|
+ pos[2] = (short)((*frame)[(*frame_offset) + 8]);
|
87
|
92
|
|
88
|
93
|
yaw = ((item[i].angle >> 14) & 0x03);
|
89
|
94
|
yaw *= 90;
|