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/vehicles | |
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/vehicles/Automobile.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp index aca96aa3..e6b936f6 100644 --- a/src/vehicles/Automobile.cpp +++ b/src/vehicles/Automobile.cpp @@ -2340,8 +2340,7 @@ CAutomobile::FireTruckControl(void) if(!CPad::GetPad(0)->GetWeapon()) return; #ifdef FREE_CAM - extern bool bFreeMouseCam; - if (!bFreeMouseCam) + if (!CCamera::bFreeCam) #endif { m_fCarGunLR += CPad::GetPad(0)->GetCarGunLeftRight() * 0.00025f * CTimer::GetTimeStep(); @@ -2416,8 +2415,7 @@ CAutomobile::TankControl(void) // Rotate turret float prevAngle = m_fCarGunLR; #ifdef FREE_CAM - extern bool bFreeMouseCam; - if(!bFreeMouseCam) + if(!CCamera::bFreeCam) #endif m_fCarGunLR -= CPad::GetPad(0)->GetCarGunLeftRight() * 0.00015f * CTimer::GetTimeStep(); |