summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-04 00:20:16 +0200
committerGitHub <noreply@github.com>2019-07-04 00:20:16 +0200
commit9e5a2fd50962a9ae86cde8655b3e898b45389fe7 (patch)
treed2c120d723c726141b9d38124bc89920bce721a9 /src/render
parentMerge pull request #101 from gennariarmando/master (diff)
parentScript stuff + bug fixes (diff)
downloadre3-9e5a2fd50962a9ae86cde8655b3e898b45389fe7.tar
re3-9e5a2fd50962a9ae86cde8655b3e898b45389fe7.tar.gz
re3-9e5a2fd50962a9ae86cde8655b3e898b45389fe7.tar.bz2
re3-9e5a2fd50962a9ae86cde8655b3e898b45389fe7.tar.lz
re3-9e5a2fd50962a9ae86cde8655b3e898b45389fe7.tar.xz
re3-9e5a2fd50962a9ae86cde8655b3e898b45389fe7.tar.zst
re3-9e5a2fd50962a9ae86cde8655b3e898b45389fe7.zip
Diffstat (limited to 'src/render')
-rw-r--r--src/render/Hud.cpp2
-rw-r--r--src/render/Hud.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp
index 0e132392..d36675cf 100644
--- a/src/render/Hud.cpp
+++ b/src/render/Hud.cpp
@@ -47,7 +47,7 @@ wchar *CHud::m_PagerMessage = (wchar*)0x878840;
bool &CHud::m_Wants_To_Draw_Hud = *(bool*)0x95CD89;
bool &CHud::m_Wants_To_Draw_3dMarkers = *(bool*)0x95CD62;
wchar(*CHud::m_BigMessage)[128] = (wchar(*)[128])0x664CE0;
-int32 CHud::m_ItemToFlash = *(int32*)0x95CC82;
+int32 &CHud::m_ItemToFlash = *(int32*)0x95CC82;
// These aren't really in CHud
float CHud::BigMessageInUse[6];
diff --git a/src/render/Hud.h b/src/render/Hud.h
index 1c82b7df..df02b4d0 100644
--- a/src/render/Hud.h
+++ b/src/render/Hud.h
@@ -62,7 +62,7 @@ public:
static bool &m_Wants_To_Draw_Hud;
static bool &m_Wants_To_Draw_3dMarkers;
static wchar(*m_BigMessage)[128];
- static int32 m_ItemToFlash;
+ static int32 &m_ItemToFlash;
// These aren't really in CHud
static float BigMessageInUse[6];