summaryrefslogtreecommitdiffstats
path: root/src/core/Cam.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-06-22 03:02:44 +0200
committereray orçunus <erayorcunus@gmail.com>2020-06-22 03:20:56 +0200
commitf3ed6659c32ec61c2c4c806707655e0c58123e4c (patch)
tree1d71dd86ef08d87e4ed703302224d330cecf4ae2 /src/core/Cam.cpp
parentkilling peds increase chaos level (diff)
downloadre3-f3ed6659c32ec61c2c4c806707655e0c58123e4c.tar
re3-f3ed6659c32ec61c2c4c806707655e0c58123e4c.tar.gz
re3-f3ed6659c32ec61c2c4c806707655e0c58123e4c.tar.bz2
re3-f3ed6659c32ec61c2c4c806707655e0c58123e4c.tar.lz
re3-f3ed6659c32ec61c2c4c806707655e0c58123e4c.tar.xz
re3-f3ed6659c32ec61c2c4c806707655e0c58123e4c.tar.zst
re3-f3ed6659c32ec61c2c4c806707655e0c58123e4c.zip
Diffstat (limited to 'src/core/Cam.cpp')
-rw-r--r--src/core/Cam.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Cam.cpp b/src/core/Cam.cpp
index b01572e9..6f1ad310 100644
--- a/src/core/Cam.cpp
+++ b/src/core/Cam.cpp
@@ -5071,7 +5071,7 @@ CCam::Process_FollowCar_SA(const CVector& CameraTarget, float TargetOrientation,
// This is not working on cars as SA
// Because III/VC doesn't have any buttons tied to LeftStick if you're not in Classic Configuration, using Dodo or using GInput/Pad, so :shrug:
if (Abs(pad->GetSteeringUpDown()) > 120.0f) {
- if (car->pDriver && car->pDriver->m_objective != OBJECTIVE_LEAVE_VEHICLE) {
+ if (car->pDriver && car->pDriver->m_objective != OBJECTIVE_LEAVE_CAR) {
yMovement += Abs(pad->GetSteeringUpDown()) * (FOV / 80.0f * 3.f / 70.f) * pad->GetSteeringUpDown() * 0.007f * 0.007f * 0.5;
}
}