summaryrefslogtreecommitdiffstats
path: root/src/core/Camera.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-03 17:28:54 +0200
committeraap <aap@papnet.eu>2020-05-03 17:28:54 +0200
commit67467f15d1dd8e545acc47c5e24beb74e4ca78b3 (patch)
treeab03d72bf34fe94b0e0acdfbb5d49ca3316937fa /src/core/Camera.cpp
parentimplemented most of vice city path system (diff)
downloadre3-67467f15d1dd8e545acc47c5e24beb74e4ca78b3.tar
re3-67467f15d1dd8e545acc47c5e24beb74e4ca78b3.tar.gz
re3-67467f15d1dd8e545acc47c5e24beb74e4ca78b3.tar.bz2
re3-67467f15d1dd8e545acc47c5e24beb74e4ca78b3.tar.lz
re3-67467f15d1dd8e545acc47c5e24beb74e4ca78b3.tar.xz
re3-67467f15d1dd8e545acc47c5e24beb74e4ca78b3.tar.zst
re3-67467f15d1dd8e545acc47c5e24beb74e4ca78b3.zip
Diffstat (limited to 'src/core/Camera.cpp')
-rw-r--r--src/core/Camera.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/Camera.cpp b/src/core/Camera.cpp
index 9a053056..379b9c36 100644
--- a/src/core/Camera.cpp
+++ b/src/core/Camera.cpp
@@ -633,7 +633,11 @@ CCamera::CamControl(void)
m_bInitialNodeFound = false;
m_bInitialNoNodeStaticsSet = false;
}
+#ifdef GTA_TRAIN
Process_Train_Camera_Control();
+#else
+ assert(0 && "this can't happen");
+#endif
}else{
if(((CVehicle*)pTargetEntity)->IsBoat())
boatTarget = true;
@@ -2707,7 +2711,7 @@ CCamera::DontProcessObbeCinemaCamera(void)
bDidWeProcessAnyCinemaCam = false;
}
-
+#ifdef GTA_TRAIN
void
CCamera::LoadTrainCamNodes(char const *name)
{
@@ -2885,7 +2889,7 @@ CCamera::Process_Train_Camera_Control(void)
}
}
}
-
+#endif
void