diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-12-09 13:39:14 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-12-09 13:39:14 +0100 |
commit | 1caf5d087aeb84b1b21d5c0fc2863bec9975f93b (patch) | |
tree | f880e1b08d3dbad6580aca0a68fe3df7d9733963 /src/core/Cam.cpp | |
parent | Vehicle cam fixes (diff) | |
download | re3-1caf5d087aeb84b1b21d5c0fc2863bec9975f93b.tar re3-1caf5d087aeb84b1b21d5c0fc2863bec9975f93b.tar.gz re3-1caf5d087aeb84b1b21d5c0fc2863bec9975f93b.tar.bz2 re3-1caf5d087aeb84b1b21d5c0fc2863bec9975f93b.tar.lz re3-1caf5d087aeb84b1b21d5c0fc2863bec9975f93b.tar.xz re3-1caf5d087aeb84b1b21d5c0fc2863bec9975f93b.tar.zst re3-1caf5d087aeb84b1b21d5c0fc2863bec9975f93b.zip |
Diffstat (limited to 'src/core/Cam.cpp')
-rw-r--r-- | src/core/Cam.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Cam.cpp b/src/core/Cam.cpp index 7cb7564a..ba7e5d15 100644 --- a/src/core/Cam.cpp +++ b/src/core/Cam.cpp @@ -5239,7 +5239,7 @@ CCam::Process_FollowCar_SA(const CVector& CameraTarget, float TargetOrientation, dontCollideWithCars = (timestepFactor * dontCollideWithCars) + ((1.0f - timestepFactor) * car->m_vecMoveSpeed.Magnitude()); // Our addition -#define IS_TRAFFIC_LIGHT(ent) (ent->IsObject() && (IsStreetLight(ent->GetModelIndex()) || ent->GetModelIndex() == MI_STREETLAMP1 || ent->GetModelIndex() == MI_STREETLAMP2)) +#define IS_TRAFFIC_LIGHT(ent) (ent->IsObject() && (IsStreetLight(ent->GetModelIndex()))) // Move cam if on collision CColPoint foundCol; |