summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-28 11:05:52 +0200
committerGitHub <noreply@github.com>2020-04-28 11:05:52 +0200
commitd921871a88baa098cdf69c3c6d832fda470c73cb (patch)
tree46a6b3714fa7b8d792b2d66689fc4b124863fc60 /src
parentremoved cpuid stuff from glfw as they caused a crash by clobbering registers. what to do about win.cpp? (diff)
downloadre3-d921871a88baa098cdf69c3c6d832fda470c73cb.tar
re3-d921871a88baa098cdf69c3c6d832fda470c73cb.tar.gz
re3-d921871a88baa098cdf69c3c6d832fda470c73cb.tar.bz2
re3-d921871a88baa098cdf69c3c6d832fda470c73cb.tar.lz
re3-d921871a88baa098cdf69c3c6d832fda470c73cb.tar.xz
re3-d921871a88baa098cdf69c3c6d832fda470c73cb.tar.zst
re3-d921871a88baa098cdf69c3c6d832fda470c73cb.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/ControllerConfig.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/core/ControllerConfig.cpp b/src/core/ControllerConfig.cpp
index f55568be..cba8186f 100644
--- a/src/core/ControllerConfig.cpp
+++ b/src/core/ControllerConfig.cpp
@@ -685,7 +685,15 @@ void CControllerConfigManager::AffectControllerStateOn_ButtonDown_Driving(int32
}
bool isDodo = false;
- if (FindPlayerVehicle() && (FindPlayerVehicle()->IsVehicle() && FindPlayerVehicle()->GetModelIndex() == MI_DODO))
+ if (FindPlayerVehicle() && (FindPlayerVehicle()->IsVehicle() && (
+ FindPlayerVehicle()->GetModelIndex() == MI_DODO
+#ifdef FIX_BUGS
+ || CVehicle::bAllDodosCheat
+#ifdef ALLCARSHELI_CHEAT
+ || bAllCarCheat
+#endif
+#endif
+ )))
{
isDodo = true;
}