diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-04-05 16:03:59 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-04-05 16:03:59 +0200 |
commit | 4fc2f9c359781fabe182fec88444ad540125fd40 (patch) | |
tree | b068784c8e75aa87396a99f7399c88e90a150c59 /src/vehicles | |
parent | Merge remote-tracking branch 'origin/master' into MoreLanguages (diff) | |
parent | fixed look behind bug (diff) | |
download | re3-4fc2f9c359781fabe182fec88444ad540125fd40.tar re3-4fc2f9c359781fabe182fec88444ad540125fd40.tar.gz re3-4fc2f9c359781fabe182fec88444ad540125fd40.tar.bz2 re3-4fc2f9c359781fabe182fec88444ad540125fd40.tar.lz re3-4fc2f9c359781fabe182fec88444ad540125fd40.tar.xz re3-4fc2f9c359781fabe182fec88444ad540125fd40.tar.zst re3-4fc2f9c359781fabe182fec88444ad540125fd40.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(); |