summaryrefslogtreecommitdiffstats
path: root/src/core/Cam.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-06-22 12:27:25 +0200
committerGitHub <noreply@github.com>2020-06-22 12:27:25 +0200
commit043f09f3fb08178eaea7e07da395dcb7b710249f (patch)
tree3b0cb6f663e297ac8cef52b8803408159d9a1e19 /src/core/Cam.cpp
parentFOV fix (diff)
parentupdated player control names (diff)
downloadre3-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.cpp6
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,