diff options
author | Roman Masanin <36927roma@gmail.com> | 2020-10-01 01:20:09 +0200 |
---|---|---|
committer | Roman Masanin <36927roma@gmail.com> | 2020-10-01 01:20:09 +0200 |
commit | fe46aa5cc25d52ec434860d4ee72fbb1347adbe9 (patch) | |
tree | ec4c6228f1d52627a602054fe9d682cc0ac1e569 /src/core/Pad.cpp | |
parent | new implementation for car fly enhancment (diff) | |
download | re3-fe46aa5cc25d52ec434860d4ee72fbb1347adbe9.tar re3-fe46aa5cc25d52ec434860d4ee72fbb1347adbe9.tar.gz re3-fe46aa5cc25d52ec434860d4ee72fbb1347adbe9.tar.bz2 re3-fe46aa5cc25d52ec434860d4ee72fbb1347adbe9.tar.lz re3-fe46aa5cc25d52ec434860d4ee72fbb1347adbe9.tar.xz re3-fe46aa5cc25d52ec434860d4ee72fbb1347adbe9.tar.zst re3-fe46aa5cc25d52ec434860d4ee72fbb1347adbe9.zip |
Diffstat (limited to 'src/core/Pad.cpp')
-rw-r--r-- | src/core/Pad.cpp | 20 |
1 files changed, 14 insertions, 6 deletions
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; |