summaryrefslogtreecommitdiffstats
path: root/src/core/Cam.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-25 08:07:41 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-25 08:07:41 +0200
commit800ab9296056ceeb384985cb223566c981813919 (patch)
tree53e8190b7bb84a7b960abcec3044ce7cc2d73fbf /src/core/Cam.cpp
parentmodelinfo bits (diff)
parentAudio: refactoring, type fixes, renaming cAudioManager fields (diff)
downloadre3-800ab9296056ceeb384985cb223566c981813919.tar
re3-800ab9296056ceeb384985cb223566c981813919.tar.gz
re3-800ab9296056ceeb384985cb223566c981813919.tar.bz2
re3-800ab9296056ceeb384985cb223566c981813919.tar.lz
re3-800ab9296056ceeb384985cb223566c981813919.tar.xz
re3-800ab9296056ceeb384985cb223566c981813919.tar.zst
re3-800ab9296056ceeb384985cb223566c981813919.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 72e1adf0..c02f6dab 100644
--- a/src/core/Cam.cpp
+++ b/src/core/Cam.cpp
@@ -727,7 +727,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;