summaryrefslogtreecommitdiffstats
path: root/src/core/re3.cpp
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-04-11 23:57:46 +0200
committerGitHub <noreply@github.com>2020-04-11 23:57:46 +0200
commit207aebc46c261df1e0b22df6d4e592ff348458ce (patch)
treeda8c68bafb71b162406337baac07666f7a6cf90f /src/core/re3.cpp
parentMerge pull request #404 from Sergeanur/rwlink (diff)
parentCMenuManager done and CHud fixes (diff)
downloadre3-207aebc46c261df1e0b22df6d4e592ff348458ce.tar
re3-207aebc46c261df1e0b22df6d4e592ff348458ce.tar.gz
re3-207aebc46c261df1e0b22df6d4e592ff348458ce.tar.bz2
re3-207aebc46c261df1e0b22df6d4e592ff348458ce.tar.lz
re3-207aebc46c261df1e0b22df6d4e592ff348458ce.tar.xz
re3-207aebc46c261df1e0b22df6d4e592ff348458ce.tar.zst
re3-207aebc46c261df1e0b22df6d4e592ff348458ce.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 40e44b15..00674b19 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>
@@ -342,6 +343,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);