mirror of
https://github.com/halpz/re3.git
synced 2024-12-25 18:05:27 +00:00
Merge pull request #983 from ZLau92/ZLau92-corrected-plane-pitch
Fix plane / ccbb cheat flight pitch
This commit is contained in:
commit
4269e613a3
|
@ -330,7 +330,7 @@ CVehicle::FlyingControl(eFlightModel flightModel)
|
||||||
case FLIGHT_MODEL_PLANE:
|
case FLIGHT_MODEL_PLANE:
|
||||||
{
|
{
|
||||||
float fSteerLR = CPad::GetPad(0)->GetSteeringLeftRight() / 128.0f;
|
float fSteerLR = CPad::GetPad(0)->GetSteeringLeftRight() / 128.0f;
|
||||||
float fSteerUD = -CPad::GetPad(0)->GetSteeringUpDown() / 128.0f;
|
float fSteerUD = CPad::GetPad(0)->GetSteeringUpDown() / 128.0f;
|
||||||
float fGunUD = Abs(CPad::GetPad(0)->GetCarGunUpDown());
|
float fGunUD = Abs(CPad::GetPad(0)->GetCarGunUpDown());
|
||||||
#ifdef FREE_CAM
|
#ifdef FREE_CAM
|
||||||
if(!CCamera::bFreeCam || (CCamera::bFreeCam && !CPad::IsAffectedByController))
|
if(!CCamera::bFreeCam || (CCamera::bFreeCam && !CPad::IsAffectedByController))
|
||||||
|
|
Loading…
Reference in a new issue