summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-23 21:06:33 +0100
committerGitHub <noreply@github.com>2021-01-23 21:06:33 +0100
commit4269e613a388f91f24ebd5c94b70d704e680e22b (patch)
tree1d4a41f6c3f0c5c6f8e189e35c24bfe213e9c0d6
parent770456d0c8c89902fd425661dcad38a87de87314 (diff)
parent77051ddc786453b015791d81cb949d4891e5e59d (diff)
Merge pull request #983 from ZLau92/ZLau92-corrected-plane-pitch
Fix plane / ccbb cheat flight pitch
-rw-r--r--src/vehicles/Vehicle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp
index 07b290d6..0ecc5004 100644
--- a/src/vehicles/Vehicle.cpp
+++ b/src/vehicles/Vehicle.cpp
@@ -330,7 +330,7 @@ CVehicle::FlyingControl(eFlightModel flightModel)
case FLIGHT_MODEL_PLANE:
{
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());
#ifdef FREE_CAM
if(!CCamera::bFreeCam || (CCamera::bFreeCam && !CPad::IsAffectedByController))