diff options
author | aap <aap@papnet.eu> | 2019-06-29 13:25:47 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-06-29 13:25:47 +0200 |
commit | c7e33bd8e5f2ad50628f60a94a3779ea8affe7fa (patch) | |
tree | 6f7cf38dc4ea9a17b1bc6125fcc69758cf535e34 /src/entities/Ped.cpp | |
parent | missed two lines in CCollision (diff) | |
download | re3-c7e33bd8e5f2ad50628f60a94a3779ea8affe7fa.tar re3-c7e33bd8e5f2ad50628f60a94a3779ea8affe7fa.tar.gz re3-c7e33bd8e5f2ad50628f60a94a3779ea8affe7fa.tar.bz2 re3-c7e33bd8e5f2ad50628f60a94a3779ea8affe7fa.tar.lz re3-c7e33bd8e5f2ad50628f60a94a3779ea8affe7fa.tar.xz re3-c7e33bd8e5f2ad50628f60a94a3779ea8affe7fa.tar.zst re3-c7e33bd8e5f2ad50628f60a94a3779ea8affe7fa.zip |
Diffstat (limited to 'src/entities/Ped.cpp')
-rw-r--r-- | src/entities/Ped.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/Ped.cpp b/src/entities/Ped.cpp index 4ca66dd7..7f83ea84 100644 --- a/src/entities/Ped.cpp +++ b/src/entities/Ped.cpp @@ -1285,7 +1285,7 @@ CPed::LineUpPedWithCar(PedLineUpPhase phase) } else if (veh->bIsBus) { m_fRotationDest = 0.5 * PI + veh->GetForward().Heading(); } else { - m_fRotationDest = GetForward().Heading(); + m_fRotationDest = veh->GetForward().Heading(); } } else if (m_vehEnterType == VEHICLE_ENTER_FRONT_LEFT || m_vehEnterType == VEHICLE_ENTER_REAR_LEFT) { if (vehIsUpsideDown) { |