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/Cam.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 '')
-rw-r--r-- | src/core/Cam.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/Cam.cpp b/src/core/Cam.cpp index ede5741e..1194a12d 100644 --- a/src/core/Cam.cpp +++ b/src/core/Cam.cpp @@ -3834,7 +3834,11 @@ CCam::Process_Debug(const CVector&, float, float, float) Source.y += 1.0f; GetVectorsReadyForRW(); - CPad::GetPad(0)->DisablePlayerControls = PLAYERCONTROL_DISABLED_1; +#ifdef FIX_BUGS + CPad::GetPad(0)->SetDisablePlayerControls(PLAYERCONTROL_CAMERA); +#else + CPad::GetPad(0)->DisablePlayerControls = PLAYERCONTROL_CAMERA; +#endif if(CPad::GetPad(1)->GetLeftShockJustDown() && gbBigWhiteDebugLightSwitchedOn) CShadows::StoreShadowToBeRendered(SHADOWTYPE_ADDITIVE, gpShadowExplosionTex, &Source, |