diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-28 11:16:50 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-28 11:16:50 +0200 |
commit | d8371dcf80a7fe35b9cf431d5c1723512eff5f06 (patch) | |
tree | 9156a4bb0f8193b208d94d0e1ac5f005c02dd19c /src/core | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
parent | Allow keyboard controls for flying cheats (diff) | |
download | re3-d8371dcf80a7fe35b9cf431d5c1723512eff5f06.tar re3-d8371dcf80a7fe35b9cf431d5c1723512eff5f06.tar.gz re3-d8371dcf80a7fe35b9cf431d5c1723512eff5f06.tar.bz2 re3-d8371dcf80a7fe35b9cf431d5c1723512eff5f06.tar.lz re3-d8371dcf80a7fe35b9cf431d5c1723512eff5f06.tar.xz re3-d8371dcf80a7fe35b9cf431d5c1723512eff5f06.tar.zst re3-d8371dcf80a7fe35b9cf431d5c1723512eff5f06.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; } |