summaryrefslogtreecommitdiffstats
path: root/src/core/re3.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-04-10 17:06:49 +0200
committereray orçunus <erayorcunus@gmail.com>2020-04-11 23:56:27 +0200
commitf2995640bd29157d28c17b4dacab93cad05eadc2 (patch)
treebff16d69ea69ab0e65bb5f797017a7a152cf10fe /src/core/re3.cpp
parentdisabling the code that freezes gang members (diff)
downloadre3-f2995640bd29157d28c17b4dacab93cad05eadc2.tar
re3-f2995640bd29157d28c17b4dacab93cad05eadc2.tar.gz
re3-f2995640bd29157d28c17b4dacab93cad05eadc2.tar.bz2
re3-f2995640bd29157d28c17b4dacab93cad05eadc2.tar.lz
re3-f2995640bd29157d28c17b4dacab93cad05eadc2.tar.xz
re3-f2995640bd29157d28c17b4dacab93cad05eadc2.tar.zst
re3-f2995640bd29157d28c17b4dacab93cad05eadc2.zip
Diffstat (limited to 'src/core/re3.cpp')
-rw-r--r--src/core/re3.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp
index 6eae8685..a35a9fd9 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -21,6 +21,7 @@
#include "Particle.h"
#include "Console.h"
#include "Debug.h"
+#include "Hud.h"
#include <list>
@@ -338,6 +339,7 @@ DebugMenuPopulate(void)
DebugMenuAddCmd("Spawn", "Spawn Rhino", [](){ SpawnCar(MI_RHINO); });
DebugMenuAddCmd("Spawn", "Spawn Firetruck", [](){ SpawnCar(MI_FIRETRUCK); });
+ DebugMenuAddVarBool8("Debug", "Draw hud", (int8*)&CHud::m_Wants_To_Draw_Hud, nil);
DebugMenuAddVar("Debug", "Engine Status", &engineStatus, nil, 1, 0, 226, nil);
DebugMenuAddCmd("Debug", "Set Engine Status", SetEngineStatus);
DebugMenuAddCmd("Debug", "Fix Car", FixCar);