diff options
author | aap <aap@papnet.eu> | 2020-05-10 20:51:29 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-10 20:51:29 +0200 |
commit | 9e842f1628c273d20fb8221e8b42198880b127fe (patch) | |
tree | a9e71674dcd33c80f54bb22b1abf482a550cb4a2 /src/core/Cam.cpp | |
parent | force load weapons as long as we dont stream em yet (diff) | |
download | re3-9e842f1628c273d20fb8221e8b42198880b127fe.tar re3-9e842f1628c273d20fb8221e8b42198880b127fe.tar.gz re3-9e842f1628c273d20fb8221e8b42198880b127fe.tar.bz2 re3-9e842f1628c273d20fb8221e8b42198880b127fe.tar.lz re3-9e842f1628c273d20fb8221e8b42198880b127fe.tar.xz re3-9e842f1628c273d20fb8221e8b42198880b127fe.tar.zst re3-9e842f1628c273d20fb8221e8b42198880b127fe.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Cam.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/Cam.cpp b/src/core/Cam.cpp index ae7df51f..62d940ad 100644 --- a/src/core/Cam.cpp +++ b/src/core/Cam.cpp @@ -29,7 +29,7 @@ bool PrintDebugCode = false; int16 DebugCamMode; #ifdef FREE_CAM -bool CCamera::bFreeCam = true; +bool CCamera::bFreeCam = false; int nPreviousMode = -1; #endif @@ -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; |