summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-08-22 11:25:43 +0200
committererorcun <erorcunerorcun@hotmail.com.tr>2021-08-22 11:25:43 +0200
commit09f693b9b908c844701502befeb549fda27ff24c (patch)
treecde0a0e0a90968ce5740bf90a8fa35e09dbdb084 /src/core
parentPedIK: fix fix (diff)
downloadre3-09f693b9b908c844701502befeb549fda27ff24c.tar
re3-09f693b9b908c844701502befeb549fda27ff24c.tar.gz
re3-09f693b9b908c844701502befeb549fda27ff24c.tar.bz2
re3-09f693b9b908c844701502befeb549fda27ff24c.tar.lz
re3-09f693b9b908c844701502befeb549fda27ff24c.tar.xz
re3-09f693b9b908c844701502befeb549fda27ff24c.tar.zst
re3-09f693b9b908c844701502befeb549fda27ff24c.zip
Diffstat (limited to 'src/core')
-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;