diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-04 18:51:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-04 18:51:56 +0200 |
commit | 3554ec58bb41f322dda5699d6b485b47038debda (patch) | |
tree | 9426c3e7397ec950589d4787c95dfcbf47524a91 /src/core/Camera.cpp | |
parent | fixed fog color for librw (diff) | |
parent | GTA_ZONECULL define (diff) | |
download | re3-3554ec58bb41f322dda5699d6b485b47038debda.tar re3-3554ec58bb41f322dda5699d6b485b47038debda.tar.gz re3-3554ec58bb41f322dda5699d6b485b47038debda.tar.bz2 re3-3554ec58bb41f322dda5699d6b485b47038debda.tar.lz re3-3554ec58bb41f322dda5699d6b485b47038debda.tar.xz re3-3554ec58bb41f322dda5699d6b485b47038debda.tar.zst re3-3554ec58bb41f322dda5699d6b485b47038debda.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Camera.cpp | 8 |
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 |