summaryrefslogtreecommitdiffstats
path: root/src/core/Cam.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-12-02 00:41:05 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-12-02 00:41:05 +0100
commit4b9f1680a376d1b9b968078e09dd76dc7404d645 (patch)
tree905867e9b73773e68b845a0751d60fbb34605b7b /src/core/Cam.cpp
parentadded GTA_SCENE_EDIT (diff)
downloadre3-4b9f1680a376d1b9b968078e09dd76dc7404d645.tar
re3-4b9f1680a376d1b9b968078e09dd76dc7404d645.tar.gz
re3-4b9f1680a376d1b9b968078e09dd76dc7404d645.tar.bz2
re3-4b9f1680a376d1b9b968078e09dd76dc7404d645.tar.lz
re3-4b9f1680a376d1b9b968078e09dd76dc7404d645.tar.xz
re3-4b9f1680a376d1b9b968078e09dd76dc7404d645.tar.zst
re3-4b9f1680a376d1b9b968078e09dd76dc7404d645.zip
Diffstat (limited to '')
-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){