mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-27 11:45:40 +00:00
fix ternary operator
This commit is contained in:
parent
fe46aa5cc2
commit
049c993ce0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue