summaryrefslogtreecommitdiff
path: root/src/core/Cam.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-12-02 02:41:05 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2020-12-02 02:41:05 +0300
commit4b9f1680a376d1b9b968078e09dd76dc7404d645 (patch)
tree905867e9b73773e68b845a0751d60fbb34605b7b /src/core/Cam.cpp
parentfda58fb1dfaba95c72f564d155560abd8d10b794 (diff)
fast fix
Diffstat (limited to 'src/core/Cam.cpp')
-rw-r--r--src/core/Cam.cpp1
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){