diff options
Diffstat (limited to '')
-rw-r--r-- | src/core/Cam.cpp | 3 | ||||
-rw-r--r-- | src/core/Streaming.cpp | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/core/Cam.cpp b/src/core/Cam.cpp index 20b262c8..21569647 100644 --- a/src/core/Cam.cpp +++ b/src/core/Cam.cpp @@ -4540,6 +4540,9 @@ CCam::Process_FollowPed_Rotation(const CVector &CameraTarget, float TargetOrient } + if(TheCamera.m_bUseTransitionBeta) + Beta = CGeneral::GetATanOfXY(-Cos(m_fTransitionBeta), -Sin(m_fTransitionBeta)); + Front = CVector(Cos(Alpha) * Cos(Beta), Cos(Alpha) * Sin(Beta), Sin(Alpha)); Source = TargetCoors - Front*CamDist; TargetCoors.z -= BaseOffset; // now get back to the real target coors again diff --git a/src/core/Streaming.cpp b/src/core/Streaming.cpp index ed3892a6..a2e6048b 100644 --- a/src/core/Streaming.cpp +++ b/src/core/Streaming.cpp @@ -262,7 +262,7 @@ CStreaming::Init(void) } } #else - CStreaming::Init(); + CStreaming::Init2(); #endif } |