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 | |
parent | fda58fb1dfaba95c72f564d155560abd8d10b794 (diff) |
fast fix
-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 |