diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-28 11:05:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 11:05:52 +0200 |
commit | d921871a88baa098cdf69c3c6d832fda470c73cb (patch) | |
tree | 46a6b3714fa7b8d792b2d66689fc4b124863fc60 /src/core | |
parent | removed cpuid stuff from glfw as they caused a crash by clobbering registers. what to do about win.cpp? (diff) | |
download | re3-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/core')
-rw-r--r-- | src/core/ControllerConfig.cpp | 10 |
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; } |