summaryrefslogtreecommitdiffstats
path: root/src/core/Camera.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-06-15 16:44:47 +0200
committerSergeanur <s.anureev@yandex.ua>2020-06-15 16:44:47 +0200
commit655eaa36ce4dfbe3c8f7d46097d87d513a384b5f (patch)
treeaa16b934b8623fa16e0dcc149069a5e55115a345 /src/core/Camera.cpp
parentFix vehicle cam. zoom values (diff)
parentmore cleanup (diff)
downloadre3-655eaa36ce4dfbe3c8f7d46097d87d513a384b5f.tar
re3-655eaa36ce4dfbe3c8f7d46097d87d513a384b5f.tar.gz
re3-655eaa36ce4dfbe3c8f7d46097d87d513a384b5f.tar.bz2
re3-655eaa36ce4dfbe3c8f7d46097d87d513a384b5f.tar.lz
re3-655eaa36ce4dfbe3c8f7d46097d87d513a384b5f.tar.xz
re3-655eaa36ce4dfbe3c8f7d46097d87d513a384b5f.tar.zst
re3-655eaa36ce4dfbe3c8f7d46097d87d513a384b5f.zip
Diffstat (limited to 'src/core/Camera.cpp')
-rw-r--r--src/core/Camera.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/Camera.cpp b/src/core/Camera.cpp
index 6d25c6d1..7ff61026 100644
--- a/src/core/Camera.cpp
+++ b/src/core/Camera.cpp
@@ -2974,6 +2974,13 @@ CCamera::Process_Train_Camera_Control(void)
if(node >= m_uiNumberOfTrainCamNodes)
node = 0;
}
+#ifdef FIX_BUGS
+ // Not really a bug but be nice and respect the debug mode
+ if(DebugCamMode){
+ TakeControl(target, DebugCamMode, JUMP_CUT, CAMCONTROL_SCRIPT);
+ return;
+ }
+#endif
if(found){
SetWideScreenOn();