diff options
author | aap <aap@papnet.eu> | 2019-07-28 13:14:08 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-07-28 13:14:08 +0200 |
commit | 6ff921c160e802c12ad40b06f17a93f72eea6bdf (patch) | |
tree | 62ba0586a63538340c0f8ebfa99c65c0fc6ed76d /src/peds/Ped.cpp | |
parent | renamed flag to R* name (diff) | |
download | re3-6ff921c160e802c12ad40b06f17a93f72eea6bdf.tar re3-6ff921c160e802c12ad40b06f17a93f72eea6bdf.tar.gz re3-6ff921c160e802c12ad40b06f17a93f72eea6bdf.tar.bz2 re3-6ff921c160e802c12ad40b06f17a93f72eea6bdf.tar.lz re3-6ff921c160e802c12ad40b06f17a93f72eea6bdf.tar.xz re3-6ff921c160e802c12ad40b06f17a93f72eea6bdf.tar.zst re3-6ff921c160e802c12ad40b06f17a93f72eea6bdf.zip |
Diffstat (limited to 'src/peds/Ped.cpp')
-rw-r--r-- | src/peds/Ped.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index c95068d0..51174da8 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -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; |