mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-11 16:20:33 +00:00
CAutomobile::PreRender; whole class finished
This commit is contained in:
parent
8de701dd70
commit
6ff921c160
18 changed files with 764 additions and 38 deletions
|
@ -1489,7 +1489,7 @@ CPed::GetLocalPositionToOpenCarDoor(CVehicle *veh, uint32 component, float seatP
|
|||
break;
|
||||
|
||||
case CAR_DOOR_RR:
|
||||
vehDoorPos = vehModel->m_positions[CAR_POS_FRONTSEAT];
|
||||
vehDoorPos = vehModel->m_positions[CAR_POS_BACKSEAT];
|
||||
vehDoorPos.x += seatOffset;
|
||||
vehDoorOffset.x = -vehDoorOffset.x;
|
||||
break;
|
||||
|
@ -1504,7 +1504,7 @@ CPed::GetLocalPositionToOpenCarDoor(CVehicle *veh, uint32 component, float seatP
|
|||
break;
|
||||
|
||||
case CAR_DOOR_LR:
|
||||
vehDoorPos = vehModel->m_positions[BOAT_POS_FRONTSEAT];
|
||||
vehDoorPos = vehModel->m_positions[CAR_POS_BACKSEAT];
|
||||
vehDoorPos.x = -(vehDoorPos.x + seatOffset);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue