summaryrefslogtreecommitdiff
path: root/src/core/Cam.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-08-22 12:25:43 +0300
committererorcun <erorcunerorcun@hotmail.com.tr>2021-08-22 12:25:43 +0300
commit09f693b9b908c844701502befeb549fda27ff24c (patch)
treecde0a0e0a90968ce5740bf90a8fa35e09dbdb084 /src/core/Cam.cpp
parent285fee01f2a0e2161ef19d9dbfabb957d1374ab7 (diff)
Cam: Fix can't look to right on BEHINDCAR
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 89a48438..cd6e38f4 100644
--- a/src/core/Cam.cpp
+++ b/src/core/Cam.cpp
@@ -723,7 +723,7 @@ CCam::LookRight(void)
CVector TargetCoors, TargetFwd;
CColPoint colPoint;
- if((Mode == MODE_CAM_ON_A_STRING || Mode == MODE_BEHINDBOAT) && CamTargetEntity->IsVehicle()){
+ if((Mode == MODE_CAM_ON_A_STRING || Mode == MODE_BEHINDBOAT || Mode == MODE_BEHINDCAR) && CamTargetEntity->IsVehicle()){
LookingRight = true;
TargetCoors = CamTargetEntity->GetPosition();
Front = CamTargetEntity->GetPosition() - Source;