summaryrefslogtreecommitdiff
path: root/src/vehicles
diff options
context:
space:
mode:
authorRoman Masanin <36927roma@gmail.com>2020-09-28 01:38:05 +0300
committerRoman Masanin <36927roma@gmail.com>2020-09-28 01:38:05 +0300
commitca73f0344ca61b4741b392fa0332d42d623625ff (patch)
treef0d7bd81d1b9bc3951da0c9e96300f6d82291599 /src/vehicles
parent4d1182bdb1f4a362f7aab82075a27a2b19b874d8 (diff)
fixed original bug, when heli go ma if cars fly cheat activated
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Automobile.cpp5
1 files changed, 4 insertions, 1 deletions
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);