summaryrefslogtreecommitdiffstats
path: root/src/core/re3.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-05 14:30:28 +0200
committerGitHub <noreply@github.com>2020-04-05 14:30:28 +0200
commit5e9ae94298c111c85a3ace292909c544b415f394 (patch)
treef3557226f72c8bcc0208b8e35232fff393aec5c1 /src/core/re3.cpp
parentMerge pull request #380 from Nick007J/master (diff)
parentCCamera fixes (diff)
downloadre3-5e9ae94298c111c85a3ace292909c544b415f394.tar
re3-5e9ae94298c111c85a3ace292909c544b415f394.tar.gz
re3-5e9ae94298c111c85a3ace292909c544b415f394.tar.bz2
re3-5e9ae94298c111c85a3ace292909c544b415f394.tar.lz
re3-5e9ae94298c111c85a3ace292909c544b415f394.tar.xz
re3-5e9ae94298c111c85a3ace292909c544b415f394.tar.zst
re3-5e9ae94298c111c85a3ace292909c544b415f394.zip
Diffstat (limited to '')
-rw-r--r--src/core/re3.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp
index 05d28167..6d4ff252 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -372,11 +372,9 @@ DebugMenuPopulate(void)
extern bool PrintDebugCode;
extern int16 &DebugCamMode;
+ DebugMenuAddVarBool8("Cam", "Use mouse Cam", (int8*)&CCamera::m_bUseMouse3rdPerson, nil);
#ifdef FREE_CAM
- extern bool bFreePadCam;
- extern bool bFreeMouseCam;
- DebugMenuAddVarBool8("Cam", "Free Gamepad Cam", (int8*)&bFreePadCam, nil);
- DebugMenuAddVarBool8("Cam", "Free Mouse Cam", (int8*)&bFreeMouseCam, nil);
+ DebugMenuAddVarBool8("Cam", "Free Cam", (int8*)&CCamera::bFreeCam, nil);
#endif
DebugMenuAddVarBool8("Cam", "Print Debug Code", (int8*)&PrintDebugCode, nil);
DebugMenuAddVar("Cam", "Cam Mode", &DebugCamMode, nil, 1, 0, CCam::MODE_EDITOR, nil);