summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-11-30 23:47:10 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-11-30 23:47:10 +0100
commitbcc51f4a284f7d96d388ec093a3e12c6ab6337c1 (patch)
tree3311da68498fc0556882464cb905fa42bd42d06d /src/vehicles
parentMerge remote-tracking branch 'upstream/master' (diff)
parentadded a few registered pointers and memory debug (diff)
downloadre3-bcc51f4a284f7d96d388ec093a3e12c6ab6337c1.tar
re3-bcc51f4a284f7d96d388ec093a3e12c6ab6337c1.tar.gz
re3-bcc51f4a284f7d96d388ec093a3e12c6ab6337c1.tar.bz2
re3-bcc51f4a284f7d96d388ec093a3e12c6ab6337c1.tar.lz
re3-bcc51f4a284f7d96d388ec093a3e12c6ab6337c1.tar.xz
re3-bcc51f4a284f7d96d388ec093a3e12c6ab6337c1.tar.zst
re3-bcc51f4a284f7d96d388ec093a3e12c6ab6337c1.zip
Diffstat (limited to 'src/vehicles')
-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