From fe46aa5cc25d52ec434860d4ee72fbb1347adbe9 Mon Sep 17 00:00:00 2001 From: Roman Masanin <36927roma@gmail.com> Date: Thu, 1 Oct 2020 02:20:09 +0300 Subject: better flying cars, some refractoring and fixes --- src/core/Pad.cpp | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'src/core/Pad.cpp') diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp index 36e14e55..6e9a37b3 100644 --- a/src/core/Pad.cpp +++ b/src/core/Pad.cpp @@ -542,8 +542,8 @@ void AllCarsHeliCheat(void) } #endif -#ifdef ALT_DODO_CHEAT -void AltDodoCheat(void) +#ifdef BETTER_ALLCARSAREDODO_CHEAT +void AllCarsPlaneCheat(void) { wchar* string; if (CVehicle::bAltDodoCheat) { @@ -1444,10 +1444,10 @@ void CPad::AddToPCCheatString(char c) AllCarsHeliCheat(); #endif -#ifdef ALT_DODO_CHEAT - // "IWANTTOMASTERDODO" - if (!_CHEATCMP("ODODRETSAMOTTNAWI")) - AltDodoCheat(); +#ifdef BETTER_ALLCARSAREDODO_CHEAT + // "CARSAREPLANE" + if (!_CHEATCMP("ENALPERASRAC")) + AllCarsPlaneCheat(); #endif #ifdef WALLCLIMB_CHEAT @@ -3166,6 +3166,14 @@ void CPad::ResetCheats(void) CVehicle::bCheat4 = false; CVehicle::bCheat5 = false; CVehicle::bCheat8 = false; +#ifdef RESTORE_ALLCARSHELI_CHEAT + bAllCarCheat = false; +#endif +#ifdef BETTER_ALLCARSAREDODO_CHEAT + CVehicle::bAltDodoCheat = false; +#endif + + gbBlackCars = false; gbPinkCars = false; CCarCtrl::bMadDriversCheat = false; -- cgit v1.2.3