summaryrefslogtreecommitdiffstats
path: root/src/entities
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities')
-rw-r--r--src/entities/Ped.cpp2
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) {