diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-06-21 15:00:17 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-06-21 15:00:17 +0200 |
commit | 7a71a47f743b1496c069cf5c4f2765877aea412b (patch) | |
tree | c8f3183ea7af47d9d01fb5b661b359d92fb56440 /src/core/Camera.cpp | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
download | re3-7a71a47f743b1496c069cf5c4f2765877aea412b.tar re3-7a71a47f743b1496c069cf5c4f2765877aea412b.tar.gz re3-7a71a47f743b1496c069cf5c4f2765877aea412b.tar.bz2 re3-7a71a47f743b1496c069cf5c4f2765877aea412b.tar.lz re3-7a71a47f743b1496c069cf5c4f2765877aea412b.tar.xz re3-7a71a47f743b1496c069cf5c4f2765877aea412b.tar.zst re3-7a71a47f743b1496c069cf5c4f2765877aea412b.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 af62e180..f3f369f2 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 |