diff options
author | aap <aap@papnet.eu> | 2020-05-10 10:04:27 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-10 10:04:27 +0200 |
commit | f0442960a22a7386f29c138f6afb1c08101789ee (patch) | |
tree | 979d9e240b2304a5a73193ed66e06c7b0a76c741 /src/control/CarCtrl.cpp | |
parent | CWeaponModelInfo (diff) | |
parent | Merge branch 'master' into miami (diff) | |
download | re3-f0442960a22a7386f29c138f6afb1c08101789ee.tar re3-f0442960a22a7386f29c138f6afb1c08101789ee.tar.gz re3-f0442960a22a7386f29c138f6afb1c08101789ee.tar.bz2 re3-f0442960a22a7386f29c138f6afb1c08101789ee.tar.lz re3-f0442960a22a7386f29c138f6afb1c08101789ee.tar.xz re3-f0442960a22a7386f29c138f6afb1c08101789ee.tar.zst re3-f0442960a22a7386f29c138f6afb1c08101789ee.zip |
Diffstat (limited to 'src/control/CarCtrl.cpp')
-rw-r--r-- | src/control/CarCtrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/CarCtrl.cpp b/src/control/CarCtrl.cpp index 88fc92f3..cf8e63f4 100644 --- a/src/control/CarCtrl.cpp +++ b/src/control/CarCtrl.cpp @@ -1904,7 +1904,7 @@ void CCarCtrl::PickNextNodeRandomly(CVehicle* pVehicle) pCurLink->GetY() - ((pVehicle->AutoPilot.m_nCurrentLane + pCurLink->OneWayLaneOffset()) * LANE_WIDTH) * currentPathLinkForwardX, 0.0f); CVector positionOnNextLinkIncludingLane( - pNextLink->GetX() + ((pVehicle->AutoPilot.m_nNextLane + pNextLink->OneWayLaneOffset()) * LANE_WIDTH), + pNextLink->GetX() + ((pVehicle->AutoPilot.m_nNextLane + pNextLink->OneWayLaneOffset()) * LANE_WIDTH) * nextPathLinkForwardY, pNextLink->GetY() - ((pVehicle->AutoPilot.m_nNextLane + pNextLink->OneWayLaneOffset()) * LANE_WIDTH) * nextPathLinkForwardX, 0.0f); #endif |