diff options
Diffstat (limited to '')
-rw-r--r-- | src/render/Hud.cpp | 2 | ||||
-rw-r--r-- | src/render/Hud.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp index f3211fd6..0de5f5b0 100644 --- a/src/render/Hud.cpp +++ b/src/render/Hud.cpp @@ -2,5 +2,7 @@ #include "patcher.h" #include "Hud.h" +bool &CHud::m_Wants_To_Draw_Hud = *(bool*)0x95CD89; + WRAPPER void CHud::Draw(void) { EAXJMP(0x5052A0); } WRAPPER void CHud::DrawAfterFade(void) { EAXJMP(0x509030); } diff --git a/src/render/Hud.h b/src/render/Hud.h index 72d3c6ad..242acea8 100644 --- a/src/render/Hud.h +++ b/src/render/Hud.h @@ -5,4 +5,6 @@ class CHud public: static void Draw(void); static void DrawAfterFade(void); + + static bool &m_Wants_To_Draw_Hud; }; |