summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-11-29 12:26:34 +0100
committeraap <aap@papnet.eu>2020-11-29 21:29:48 +0100
commitd5bc382cb51c5ef5af618377d190e6f34e893314 (patch)
treef3d376094b50e4cdbfe4b65afef37aab1ccde9a6 /src/vehicles/Vehicle.cpp
parentadd debug script hotkey (diff)
downloadre3-d5bc382cb51c5ef5af618377d190e6f34e893314.tar
re3-d5bc382cb51c5ef5af618377d190e6f34e893314.tar.gz
re3-d5bc382cb51c5ef5af618377d190e6f34e893314.tar.bz2
re3-d5bc382cb51c5ef5af618377d190e6f34e893314.tar.lz
re3-d5bc382cb51c5ef5af618377d190e6f34e893314.tar.xz
re3-d5bc382cb51c5ef5af618377d190e6f34e893314.tar.zst
re3-d5bc382cb51c5ef5af618377d190e6f34e893314.zip
Diffstat (limited to '')
-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 d2ca5a1a..9adcf148 100644
--- a/src/vehicles/Vehicle.cpp
+++ b/src/vehicles/Vehicle.cpp
@@ -405,7 +405,7 @@ CVehicle::FlyingControl(eFlightModel flightModel)
else
fThrust = fThrustVar * (CPad::GetPad(0)->GetAccelerate() - 2 * CPad::GetPad(0)->GetBrake()) / 255.0f + 0.95f;
fThrust -= fRotorFallOff * DotProduct(m_vecMoveSpeed, GetUp());
-#ifdef GTA3_1_1_PATCH
+#if GTA_VERSION >= GTA3_PC_11
if (fThrust > 0.9f && GetPosition().z > 80.0f)
fThrust = 0.9f;
#endif