mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-12 22:24:09 +00:00
DragCarToPoint
This commit is contained in:
parent
426efa9ecb
commit
a3aea359b2
7 changed files with 141 additions and 23 deletions
|
@ -3074,7 +3074,7 @@ CAutomobile::PlaceOnRoadProperly(void)
|
|||
frontZ = point.point.z;
|
||||
m_pCurGroundEntity = entity;
|
||||
}else{
|
||||
frontZ = field_21C;
|
||||
frontZ = m_fMapObjectHeightAhead;
|
||||
}
|
||||
|
||||
CVector rear(GetPosition().x - GetForward().x*lenBack,
|
||||
|
@ -3085,7 +3085,7 @@ CAutomobile::PlaceOnRoadProperly(void)
|
|||
rearZ = point.point.z;
|
||||
m_pCurGroundEntity = entity;
|
||||
}else{
|
||||
rearZ = field_220;
|
||||
rearZ = m_fMapObjectHeightBehind;
|
||||
}
|
||||
|
||||
float len = lenFwd + lenBack;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue