diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-12-02 02:41:05 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-12-02 02:41:05 +0300 |
commit | 4b9f1680a376d1b9b968078e09dd76dc7404d645 (patch) | |
tree | 905867e9b73773e68b845a0751d60fbb34605b7b /src/core/Cam.cpp | |
parent | fda58fb1dfaba95c72f564d155560abd8d10b794 (diff) |
fast fix
Diffstat (limited to 'src/core/Cam.cpp')
-rw-r--r-- | src/core/Cam.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/Cam.cpp b/src/core/Cam.cpp index 3913274a..08ebbafd 100644 --- a/src/core/Cam.cpp +++ b/src/core/Cam.cpp @@ -3938,6 +3938,7 @@ CCam::Process_Editor(const CVector&, float, float, float) FOV = DefaultFOV; Alpha += DEGTORAD(CPad::GetPad(1)->GetLeftStickY()) / 50.0f; Beta += DEGTORAD(CPad::GetPad(1)->GetLeftStickX()*1.5f) / 19.0f; + if(CamTargetEntity && CSceneEdit::m_bCameraFollowActor){ TargetCoors = CamTargetEntity->GetPosition(); }else if(CSceneEdit::m_bRecording){ |