diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-18 22:50:37 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-18 22:50:37 +0200 |
commit | c4cd45d47c01d89bab28f196f03ed9cb1978005b (patch) | |
tree | adfdb08e894945432bcfe0f84883fb3219fd2a72 /src/core/Camera.cpp | |
parent | Changed extraOffset value. (diff) | |
download | re3-c4cd45d47c01d89bab28f196f03ed9cb1978005b.tar re3-c4cd45d47c01d89bab28f196f03ed9cb1978005b.tar.gz re3-c4cd45d47c01d89bab28f196f03ed9cb1978005b.tar.bz2 re3-c4cd45d47c01d89bab28f196f03ed9cb1978005b.tar.lz re3-c4cd45d47c01d89bab28f196f03ed9cb1978005b.tar.xz re3-c4cd45d47c01d89bab28f196f03ed9cb1978005b.tar.zst re3-c4cd45d47c01d89bab28f196f03ed9cb1978005b.zip |
Diffstat (limited to 'src/core/Camera.cpp')
-rw-r--r-- | src/core/Camera.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/Camera.cpp b/src/core/Camera.cpp index f1445d2e..6747ebf5 100644 --- a/src/core/Camera.cpp +++ b/src/core/Camera.cpp @@ -2490,6 +2490,10 @@ CCamera::TryToStartNewCamMode(int obbeMode) TakeControl(FindPlayerEntity(), CCam::MODE_CAM_ON_A_STRING, JUMP_CUT, CAMCONTROL_OBBE); return true; case OBBE_COPCAR: +#ifdef FIX_BUGS + if (CReplay::IsPlayingBack()) + return false; +#endif if(FindPlayerPed()->m_pWanted->m_nWantedLevel < 1) return false; if(FindPlayerVehicle() == nil) @@ -2514,6 +2518,10 @@ CCamera::TryToStartNewCamMode(int obbeMode) } return false; case OBBE_COPCAR_WHEEL: +#ifdef FIX_BUGS + if (CReplay::IsPlayingBack()) + return false; +#endif if(FindPlayerPed()->m_pWanted->m_nWantedLevel < 1) return false; if(FindPlayerVehicle() == nil) |