summaryrefslogtreecommitdiffstats
path: root/src/render/Hud.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-03 17:01:17 +0100
committerGitHub <noreply@github.com>2021-01-03 17:01:17 +0100
commit65796459343a01ddd17170104599ae340b90bb1d (patch)
treed16a5bc09e9cebd006085f30a27dfb3567927ee7 /src/render/Hud.cpp
parentMerge pull request #921 from TheOfficialFloW/patch-2 (diff)
parentPad2 fix (diff)
downloadre3-65796459343a01ddd17170104599ae340b90bb1d.tar
re3-65796459343a01ddd17170104599ae340b90bb1d.tar.gz
re3-65796459343a01ddd17170104599ae340b90bb1d.tar.bz2
re3-65796459343a01ddd17170104599ae340b90bb1d.tar.lz
re3-65796459343a01ddd17170104599ae340b90bb1d.tar.xz
re3-65796459343a01ddd17170104599ae340b90bb1d.tar.zst
re3-65796459343a01ddd17170104599ae340b90bb1d.zip
Diffstat (limited to 'src/render/Hud.cpp')
-rw-r--r--src/render/Hud.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp
index c4e78a91..ab6e694c 100644
--- a/src/render/Hud.cpp
+++ b/src/render/Hud.cpp
@@ -24,6 +24,7 @@
#include "Stats.h"
#include "main.h"
#include "General.h"
+#include "VarConsole.h"
// --MIAMI: file done
@@ -1760,6 +1761,9 @@ void CHud::Initialise()
m_LastWanted = 0;
m_LastWeapon = 0;
+#ifndef MASTER
+ VarConsole.Add("Draw HUD", &m_Wants_To_Draw_Hud, false);
+#endif
CTxdStore::PopCurrentTxd();
}