diff options
author | aap <aap@papnet.eu> | 2020-12-21 20:48:28 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-12-21 20:48:28 +0100 |
commit | 88b0134e72077b89c172fe857bf8a2735cb47cf3 (patch) | |
tree | a7282da87b98d33390991219bce4e18a671f83a2 /src/core/Cam.cpp | |
parent | fix sizeof (diff) | |
download | re3-88b0134e72077b89c172fe857bf8a2735cb47cf3.tar re3-88b0134e72077b89c172fe857bf8a2735cb47cf3.tar.gz re3-88b0134e72077b89c172fe857bf8a2735cb47cf3.tar.bz2 re3-88b0134e72077b89c172fe857bf8a2735cb47cf3.tar.lz re3-88b0134e72077b89c172fe857bf8a2735cb47cf3.tar.xz re3-88b0134e72077b89c172fe857bf8a2735cb47cf3.tar.zst re3-88b0134e72077b89c172fe857bf8a2735cb47cf3.zip |
Diffstat (limited to '')
-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 9b4715b2..2cf1748c 100644 --- a/src/core/Cam.cpp +++ b/src/core/Cam.cpp @@ -180,9 +180,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); @@ -3735,6 +3737,7 @@ CCam::Process_Fixed(const CVector &CameraTarget, float, float, float) } } +#ifdef PC_PLAYER_CONTROLS if(FrontEndMenuManager.m_ControlMethod == CONTROL_STANDARD && Using3rdPersonMouseCam()){ CPed *player = FindPlayerPed(); if(player && player->CanStrafeOrMouseControl()){ @@ -3745,6 +3748,7 @@ CCam::Process_Fixed(const CVector &CameraTarget, float, float, float) TheCamera.pTargetEntity->GetMatrix().UpdateRW(); } } +#endif } void |