diff options
author | shfil <filip.gawin@zoho.com> | 2020-09-28 20:07:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-28 20:07:14 +0200 |
commit | bc0bdd02f494b70d64a2d6a6fcf1cce275b5a303 (patch) | |
tree | dbd4aaefa13eb89bf3a1d4e8b796c58ce21d70bf /src | |
parent | Credits & fixes (diff) | |
parent | fixed original bug, when heli go ma if cars fly cheat activated (diff) | |
download | re3-bc0bdd02f494b70d64a2d6a6fcf1cce275b5a303.tar re3-bc0bdd02f494b70d64a2d6a6fcf1cce275b5a303.tar.gz re3-bc0bdd02f494b70d64a2d6a6fcf1cce275b5a303.tar.bz2 re3-bc0bdd02f494b70d64a2d6a6fcf1cce275b5a303.tar.lz re3-bc0bdd02f494b70d64a2d6a6fcf1cce275b5a303.tar.xz re3-bc0bdd02f494b70d64a2d6a6fcf1cce275b5a303.tar.zst re3-bc0bdd02f494b70d64a2d6a6fcf1cce275b5a303.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ControllerConfig.cpp | 2 | ||||
-rw-r--r-- | src/vehicles/Automobile.cpp | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/core/ControllerConfig.cpp b/src/core/ControllerConfig.cpp index b0e04e2b..68a29b28 100644 --- a/src/core/ControllerConfig.cpp +++ b/src/core/ControllerConfig.cpp @@ -732,7 +732,7 @@ void CControllerConfigManager::AffectControllerStateOn_ButtonDown_Driving(int32 if (FindPlayerVehicle() && (FindPlayerVehicle()->IsVehicle() && ( FindPlayerVehicle()->GetModelIndex() == MI_DODO #ifdef FIX_BUGS - || CVehicle::bAllDodosCheat + || (CVehicle::bAllDodosCheat && !FindPlayerVehicle()->IsRealHeli()) #ifdef ALLCARSHELI_CHEAT || bAllCarCheat #endif diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp index eec44c35..7863b4a1 100644 --- a/src/vehicles/Automobile.cpp +++ b/src/vehicles/Automobile.cpp @@ -1384,7 +1384,10 @@ CAutomobile::ProcessControl(void) playRotorSound = true; } }else if((GetModelIndex() == MI_DODO || CVehicle::bAllDodosCheat) && - m_vecMoveSpeed.Magnitude() > 0.0f && CTimer::GetTimeStep() > 0.0f){ +#ifdef FIX_BUGS + !IsRealHeli() && +#endif + m_vecMoveSpeed.Magnitude() > 0.0f && CTimer::GetTimeStep() > 0.0f){ #ifdef ALT_DODO_CHEAT if (bAltDodoCheat) FlyingControl(FLIGHT_MODEL_PLANE); |