Allow keyboard controls for flying cheats

This commit is contained in:
Nikolay Korolev authored and GitHub committed 2020-04-28 12:05:52 +03:00
1 parent c7e2845602
commit d921871a88
1 file changed
+9 -1
+9 -1
View File
@@ -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;
}