diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-12-02 00:41:05 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-12-02 00:41:05 +0100 |
commit | 4b9f1680a376d1b9b968078e09dd76dc7404d645 (patch) | |
tree | 905867e9b73773e68b845a0751d60fbb34605b7b /src | |
parent | added GTA_SCENE_EDIT (diff) | |
download | re3-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 'src')
-rw-r--r-- | src/core/Cam.cpp | 1 | ||||
-rw-r--r-- | src/core/config.h | 2 |
2 files changed, 2 insertions, 1 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){ diff --git a/src/core/config.h b/src/core/config.h index ccea1868..4e71224f 100644 --- a/src/core/config.h +++ b/src/core/config.h @@ -197,7 +197,7 @@ enum Config { # define PS2_MATFX # endif # define GTA_REPLAY -# define GTA_SCENE_EDIT +# define GTA_SCENE_EDIT #elif defined GTA_XBOX #endif |