diff options
author | aap <aap@papnet.eu> | 2019-07-17 13:19:20 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-07-17 13:19:20 +0200 |
commit | 0f1fbf5e9a7477c6fbb7645491598e87ed2e183e (patch) | |
tree | 713a8e10b3657d4c3a0d9c20c3704e0da8f9357e /src/peds/Ped.cpp | |
parent | Merge pull request #139 from Nick007J/master (diff) | |
download | re3-0f1fbf5e9a7477c6fbb7645491598e87ed2e183e.tar re3-0f1fbf5e9a7477c6fbb7645491598e87ed2e183e.tar.gz re3-0f1fbf5e9a7477c6fbb7645491598e87ed2e183e.tar.bz2 re3-0f1fbf5e9a7477c6fbb7645491598e87ed2e183e.tar.lz re3-0f1fbf5e9a7477c6fbb7645491598e87ed2e183e.tar.xz re3-0f1fbf5e9a7477c6fbb7645491598e87ed2e183e.tar.zst re3-0f1fbf5e9a7477c6fbb7645491598e87ed2e183e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/peds/Ped.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index dc645003..b1738465 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -1460,7 +1460,7 @@ CPed::GetLocalPositionToOpenCarDoor(CVector *output, CVehicle *veh, uint32 enter seatOffset = 0.0f; vehDoorOffset = offsetToOpenVanDoor; } else { - seatOffset = veh->m_handling->fSeatOffsetDistance * seatPosMult; + seatOffset = veh->pHandling->fSeatOffsetDistance * seatPosMult; if (veh->bLowVehicle) { vehDoorOffset = offsetToOpenLowCarDoor; } else { |