diff options
author | aap <aap@papnet.eu> | 2020-12-21 20:48:40 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-12-21 20:48:40 +0100 |
commit | 309a4613a49acb260c5422c376db2789af37d8ca (patch) | |
tree | 98b3d581df0b85471115fb67b557b09623ca8a04 /src/core/Cam.cpp | |
parent | fix sizeof (diff) | |
download | re3-309a4613a49acb260c5422c376db2789af37d8ca.tar re3-309a4613a49acb260c5422c376db2789af37d8ca.tar.gz re3-309a4613a49acb260c5422c376db2789af37d8ca.tar.bz2 re3-309a4613a49acb260c5422c376db2789af37d8ca.tar.lz re3-309a4613a49acb260c5422c376db2789af37d8ca.tar.xz re3-309a4613a49acb260c5422c376db2789af37d8ca.tar.zst re3-309a4613a49acb260c5422c376db2789af37d8ca.zip |
Diffstat (limited to 'src/core/Cam.cpp')
-rw-r--r-- | src/core/Cam.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/Cam.cpp b/src/core/Cam.cpp index 5906310b..1d73a272 100644 --- a/src/core/Cam.cpp +++ b/src/core/Cam.cpp @@ -144,9 +144,11 @@ CCam::Process(void) Process_BehindCar(CameraTarget, TargetOrientation, SpeedVar, TargetSpeedVar); break; case MODE_FOLLOWPED: +#ifdef PC_PLAYER_CONTROLS if(CCamera::m_bUseMouse3rdPerson) Process_FollowPedWithMouse(CameraTarget, TargetOrientation, SpeedVar, TargetSpeedVar); else +#endif #ifdef FREE_CAM if(CCamera::bFreeCam) Process_FollowPed_Rotation(CameraTarget, TargetOrientation, SpeedVar, TargetSpeedVar); @@ -3673,6 +3675,7 @@ CCam::Process_Fixed(const CVector &CameraTarget, float, float, float) if(TheCamera.m_bUseSpecialFovTrain) FOV = TheCamera.m_fFovForTrain; +#ifdef PC_PLAYER_CONTROLS if(CMenuManager::m_ControlMethod == CONTROL_STANDARD && Using3rdPersonMouseCam()){ CPed *player = FindPlayerPed(); if(player && player->CanStrafeOrMouseControl()){ @@ -3683,6 +3686,7 @@ CCam::Process_Fixed(const CVector &CameraTarget, float, float, float) TheCamera.pTargetEntity->GetMatrix().UpdateRW(); } } +#endif } void |