mirror of
https://github.com/halpz/re3.git
synced 2025-10-08 08:11:36 +00:00
CAutomobile::PreRender; whole class finished
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user