diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-06-22 12:27:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-22 12:27:25 +0200 |
commit | 043f09f3fb08178eaea7e07da395dcb7b710249f (patch) | |
tree | 3b0cb6f663e297ac8cef52b8803408159d9a1e19 /src/core/Camera.cpp | |
parent | FOV fix (diff) | |
parent | updated player control names (diff) | |
download | re3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar re3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar.gz re3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar.bz2 re3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar.lz re3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar.xz re3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar.zst re3-043f09f3fb08178eaea7e07da395dcb7b710249f.zip |
Diffstat (limited to 'src/core/Camera.cpp')
-rw-r--r-- | src/core/Camera.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/Camera.cpp b/src/core/Camera.cpp index 785a9d12..cc463f07 100644 --- a/src/core/Camera.cpp +++ b/src/core/Camera.cpp @@ -781,7 +781,7 @@ CCamera::CamControl(void) m_bFailedCullZoneTestPreviously = CCullZones::CamCloseInForPlayer(); if(m_bLookingAtPlayer){ - CPad::GetPad(0)->DisablePlayerControls &= ~PLAYERCONTROL_DISABLED_1; + CPad::GetPad(0)->SetEnablePlayerControls(PLAYERCONTROL_CAMERA); FindPlayerPed()->bIsVisible = true; } @@ -1049,7 +1049,7 @@ CCamera::CamControl(void) m_bFirstPersonBeingUsed = false; if(m_bFirstPersonBeingUsed){ ReqMode = CCam::MODE_1STPERSON; - CPad::GetPad(0)->DisablePlayerControls |= PLAYERCONTROL_DISABLED_1; + CPad::GetPad(0)->SetDisablePlayerControls(PLAYERCONTROL_CAMERA); } // Zoom value |