summaryrefslogtreecommitdiffstats
path: root/src/core/Cam.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-11 00:00:50 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-11 00:00:50 +0200
commit2f085ea5f585ac2a54bfa1eb51082b5f41a67184 (patch)
tree90b3006d9ff5aa65b753d27336d134d1cc783ce5 /src/core/Cam.cpp
parentsome changes (diff)
parentRpAnimBlend and frame updates (diff)
downloadre3-2f085ea5f585ac2a54bfa1eb51082b5f41a67184.tar
re3-2f085ea5f585ac2a54bfa1eb51082b5f41a67184.tar.gz
re3-2f085ea5f585ac2a54bfa1eb51082b5f41a67184.tar.bz2
re3-2f085ea5f585ac2a54bfa1eb51082b5f41a67184.tar.lz
re3-2f085ea5f585ac2a54bfa1eb51082b5f41a67184.tar.xz
re3-2f085ea5f585ac2a54bfa1eb51082b5f41a67184.tar.zst
re3-2f085ea5f585ac2a54bfa1eb51082b5f41a67184.zip
Diffstat (limited to 'src/core/Cam.cpp')
-rw-r--r--src/core/Cam.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/Cam.cpp b/src/core/Cam.cpp
index ae7df51f..a8787675 100644
--- a/src/core/Cam.cpp
+++ b/src/core/Cam.cpp
@@ -280,12 +280,12 @@ CCam::Process(void)
if(DirectionWasLooking != LOOKING_BEHIND)
TheCamera.m_bJust_Switched = true;
DirectionWasLooking = LOOKING_BEHIND;
- }else if(CPad::GetPad(0)->GetLookLeft()){
+ }else if(!((CVehicle*)CamTargetEntity)->IsRealHeli() && CPad::GetPad(0)->GetLookLeft()){
LookLeft();
if(DirectionWasLooking != LOOKING_LEFT)
TheCamera.m_bJust_Switched = true;
DirectionWasLooking = LOOKING_LEFT;
- }else if(CPad::GetPad(0)->GetLookRight()){
+ }else if(!((CVehicle*)CamTargetEntity)->IsRealHeli() && CPad::GetPad(0)->GetLookRight()){
LookRight();
if(DirectionWasLooking != LOOKING_RIGHT)
TheCamera.m_bJust_Switched = true;