diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-07-28 14:52:39 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-07-28 14:52:39 +0200 |
commit | f7c93fc15c9b9b45a3022433379ff967443a2c74 (patch) | |
tree | 9db8a9057d0b96fac16bdb9f76796c87e5283706 /src/peds/Ped.cpp | |
parent | fixed phones (diff) | |
parent | Merge branch 'master' of github.com:GTAmodding/re3 (diff) | |
download | re3-f7c93fc15c9b9b45a3022433379ff967443a2c74.tar re3-f7c93fc15c9b9b45a3022433379ff967443a2c74.tar.gz re3-f7c93fc15c9b9b45a3022433379ff967443a2c74.tar.bz2 re3-f7c93fc15c9b9b45a3022433379ff967443a2c74.tar.lz re3-f7c93fc15c9b9b45a3022433379ff967443a2c74.tar.xz re3-f7c93fc15c9b9b45a3022433379ff967443a2c74.tar.zst re3-f7c93fc15c9b9b45a3022433379ff967443a2c74.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; |