diff options
author | aap <aap@papnet.eu> | 2020-04-02 12:48:01 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-04-03 09:26:10 +0200 |
commit | 7ff5a3a65c3106cb488a5b0a4f25d0b5450d489f (patch) | |
tree | e0d625688b61bb8673f9218361cb296d8c136102 /src/peds/Ped.cpp | |
parent | AudioScriptObject finished (diff) | |
download | re3-7ff5a3a65c3106cb488a5b0a4f25d0b5450d489f.tar re3-7ff5a3a65c3106cb488a5b0a4f25d0b5450d489f.tar.gz re3-7ff5a3a65c3106cb488a5b0a4f25d0b5450d489f.tar.bz2 re3-7ff5a3a65c3106cb488a5b0a4f25d0b5450d489f.tar.lz re3-7ff5a3a65c3106cb488a5b0a4f25d0b5450d489f.tar.xz re3-7ff5a3a65c3106cb488a5b0a4f25d0b5450d489f.tar.zst re3-7ff5a3a65c3106cb488a5b0a4f25d0b5450d489f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/peds/Ped.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index 264fa669..54816b1c 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -59,10 +59,6 @@ #define CAN_SEE_ENTITY_ANGLE_THRESHOLD DEGTORAD(60.0f) -#ifdef FREE_CAM -extern bool bFreeMouseCam; -#endif - CPed *gapTempPedList[50]; uint16 gnNumTempPedList; @@ -812,7 +808,7 @@ bool CPed::CanStrafeOrMouseControl(void) { #ifdef FREE_CAM - if (bFreeMouseCam) + if (CCamera::bFreeCam) return false; #endif return m_nPedState == PED_NONE || m_nPedState == PED_IDLE || m_nPedState == PED_FLEE_POS || m_nPedState == PED_FLEE_ENTITY || @@ -6993,7 +6989,7 @@ CPed::FinishLaunchCB(CAnimBlendAssociation *animAssoc, void *arg) ) { #ifdef FREE_CAM - if (TheCamera.Cams[0].Using3rdPersonMouseCam() && !bFreeMouseCam) { + if (TheCamera.Cams[0].Using3rdPersonMouseCam() && !CCamera::bFreeCam) { #else if (TheCamera.Cams[0].Using3rdPersonMouseCam()) { #endif |