diff options
author | _AG <gennariarmando@outlook.com> | 2019-06-17 02:10:55 +0200 |
---|---|---|
committer | _AG <gennariarmando@outlook.com> | 2019-06-17 02:11:30 +0200 |
commit | f299e9ebd51cc26d30a40ee5edff7ddf2968b2ec (patch) | |
tree | cc2c85e0ccf486546de22074639d0e8fbe032f65 /src/Camera.cpp | |
parent | d92c9085dacbf35c04da05d2d8a2bc3b2fee40c6 (diff) |
Update HUD stuff, bug and format fixes.
Added environment variables to premake5.lua.
Update README.md
Diffstat (limited to 'src/Camera.cpp')
-rw-r--r-- | src/Camera.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Camera.cpp b/src/Camera.cpp index 7bd4aac9..1b4b1db6 100644 --- a/src/Camera.cpp +++ b/src/Camera.cpp @@ -1249,7 +1249,8 @@ CCam::FixCamWhenObscuredByVehicle(const CVector &TargetCoors) Source.z += HeightFixerCarsObscuring; } -bool CCam::Using3rdPersonMouseCam() { +bool CCam::Using3rdPersonMouseCam() +{ return CCamera::m_bUseMouse3rdPerson && (Mode == MODE_FOLLOWPED || TheCamera.m_bPlayerIsInGarage && |