mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-12 02:20:35 +00:00
Merge branch 'miami' of github.com:GTAmodding/re3 into miami
This commit is contained in:
commit
55cf1a37cb
32 changed files with 589 additions and 622 deletions
|
@ -549,7 +549,7 @@ CVehicleModelInfo::PreprocessHierarchy(void)
|
|||
|
||||
if(desc[i].flags & VEHICLE_FLAG_POS){
|
||||
f = assoc.frame;
|
||||
rwvec = (RwV3d*)&m_positions[desc[i].hierId];
|
||||
rwvec = &m_positions[desc[i].hierId];
|
||||
*rwvec = *RwMatrixGetPos(RwFrameGetMatrix(f));
|
||||
for(f = RwFrameGetParent(f); f; f = RwFrameGetParent(f))
|
||||
RwV3dTransformPoints(rwvec, rwvec, 1, RwFrameGetMatrix(f));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue