summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Automobile.cpp
diff options
context:
space:
mode:
authorshfil <filip.gawin@zoho.com>2020-09-28 20:07:14 +0200
committerGitHub <noreply@github.com>2020-09-28 20:07:14 +0200
commitbc0bdd02f494b70d64a2d6a6fcf1cce275b5a303 (patch)
treedbd4aaefa13eb89bf3a1d4e8b796c58ce21d70bf /src/vehicles/Automobile.cpp
parentCredits & fixes (diff)
parentfixed original bug, when heli go ma if cars fly cheat activated (diff)
downloadre3-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/vehicles/Automobile.cpp')
-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);