diff options
author | Xinerki <simasadves@gmail.com> | 2020-05-21 16:28:03 +0200 |
---|---|---|
committer | Xinerki <simasadves@gmail.com> | 2020-05-21 16:28:03 +0200 |
commit | 1c00e3cf2c184809d4ed814640eedcf0ef997b1c (patch) | |
tree | 745ab93873dbc202c7449f4b7f4ba1866c279bcd /src/core/re3.cpp | |
parent | make reloadables optional (diff) | |
download | re3-1c00e3cf2c184809d4ed814640eedcf0ef997b1c.tar re3-1c00e3cf2c184809d4ed814640eedcf0ef997b1c.tar.gz re3-1c00e3cf2c184809d4ed814640eedcf0ef997b1c.tar.bz2 re3-1c00e3cf2c184809d4ed814640eedcf0ef997b1c.tar.lz re3-1c00e3cf2c184809d4ed814640eedcf0ef997b1c.tar.xz re3-1c00e3cf2c184809d4ed814640eedcf0ef997b1c.tar.zst re3-1c00e3cf2c184809d4ed814640eedcf0ef997b1c.zip |
Diffstat (limited to 'src/core/re3.cpp')
-rw-r--r-- | src/core/re3.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp index c7fade52..8f808b61 100644 --- a/src/core/re3.cpp +++ b/src/core/re3.cpp @@ -69,7 +69,7 @@ mysrand(unsigned int seed) #ifdef DEBUGMENU void WeaponCheat(); void HealthCheat(); -void TankCheat(); +void VehicleCheat(bool something, int model); void BlowUpCarsCheat(); void ChangePlayerCheat(); void MayhemCheat(); @@ -293,7 +293,7 @@ DebugMenuPopulate(void) DebugMenuAddCmd("Cheats", "Health", HealthCheat); DebugMenuAddCmd("Cheats", "Wanted level up", WantedLevelUpCheat); DebugMenuAddCmd("Cheats", "Wanted level down", WantedLevelDownCheat); - DebugMenuAddCmd("Cheats", "Tank", TankCheat); + DebugMenuAddCmd("Cheats", "Tank", []() { VehicleCheat(true, MI_TAXI); }); DebugMenuAddCmd("Cheats", "Blow up cars", BlowUpCarsCheat); DebugMenuAddCmd("Cheats", "Change player", ChangePlayerCheat); DebugMenuAddCmd("Cheats", "Mayhem", MayhemCheat); |