summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRoman Masanin <36927roma@gmail.com>2020-09-28 00:38:05 +0200
committerRoman Masanin <36927roma@gmail.com>2020-09-28 00:38:05 +0200
commitca73f0344ca61b4741b392fa0332d42d623625ff (patch)
treef0d7bd81d1b9bc3951da0c9e96300f6d82291599 /src
parentFix coronas reflections (diff)
downloadre3-ca73f0344ca61b4741b392fa0332d42d623625ff.tar
re3-ca73f0344ca61b4741b392fa0332d42d623625ff.tar.gz
re3-ca73f0344ca61b4741b392fa0332d42d623625ff.tar.bz2
re3-ca73f0344ca61b4741b392fa0332d42d623625ff.tar.lz
re3-ca73f0344ca61b4741b392fa0332d42d623625ff.tar.xz
re3-ca73f0344ca61b4741b392fa0332d42d623625ff.tar.zst
re3-ca73f0344ca61b4741b392fa0332d42d623625ff.zip
Diffstat (limited to '')
-rw-r--r--src/core/ControllerConfig.cpp2
-rw-r--r--src/vehicles/Automobile.cpp5
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);