diff options
author | Roman Masanin <36927roma@gmail.com> | 2020-10-01 01:45:24 +0200 |
---|---|---|
committer | Roman Masanin <36927roma@gmail.com> | 2020-10-01 01:45:24 +0200 |
commit | 049c993ce01570fd6aae8166b6622a81f343ef2e (patch) | |
tree | 9fa4cfd195ae2a0e9f303a616a935df1f517ec9e /src/vehicles | |
parent | better flying cars, some refractoring and fixes (diff) | |
download | re3-049c993ce01570fd6aae8166b6622a81f343ef2e.tar re3-049c993ce01570fd6aae8166b6622a81f343ef2e.tar.gz re3-049c993ce01570fd6aae8166b6622a81f343ef2e.tar.bz2 re3-049c993ce01570fd6aae8166b6622a81f343ef2e.tar.lz re3-049c993ce01570fd6aae8166b6622a81f343ef2e.tar.xz re3-049c993ce01570fd6aae8166b6622a81f343ef2e.tar.zst re3-049c993ce01570fd6aae8166b6622a81f343ef2e.zip |
Diffstat (limited to 'src/vehicles')
-rw-r--r-- | src/vehicles/Vehicle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp index 82bdcdda..3ff9a044 100644 --- a/src/vehicles/Vehicle.cpp +++ b/src/vehicles/Vehicle.cpp @@ -357,7 +357,7 @@ CVehicle::FlyingControl(eFlightModel flightModel) #ifdef BETTER_ALLCARSAREDODO_CHEAT if (bAltDodoCheat && !IsRealPlane()) { fThrust = pHandling->Transmission.fEngineAcceleration - * pHandling->Transmission.nDriveType == '4' ? 4.0f : 2.0f; + * (pHandling->Transmission.nDriveType == '4' ? 4.0f : 2.0f); fThrust = 5.0f * Max(fThrust, pFlyingHandling->fThrust); fThrustFallOff = Min(1.0f / pHandling->Transmission.fMaxVelocity, fThrustFallOff); fThrustFallOffBack = -1.0f / pHandling->Transmission.fMaxReverseVelocity; |