mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-17 14:14:09 +00:00
CCamera fixes
This commit is contained in:
parent
62ae7245ab
commit
7ff5a3a65c
19 changed files with 3544 additions and 447 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue