summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-07-04 00:16:24 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-07-04 00:16:24 +0200
commit7fae683316db64e772fb82833d73860cc16cf03a (patch)
treed2c120d723c726141b9d38124bc89920bce721a9 /src/render
parentMerge pull request #101 from gennariarmando/master (diff)
downloadre3-7fae683316db64e772fb82833d73860cc16cf03a.tar
re3-7fae683316db64e772fb82833d73860cc16cf03a.tar.gz
re3-7fae683316db64e772fb82833d73860cc16cf03a.tar.bz2
re3-7fae683316db64e772fb82833d73860cc16cf03a.tar.lz
re3-7fae683316db64e772fb82833d73860cc16cf03a.tar.xz
re3-7fae683316db64e772fb82833d73860cc16cf03a.tar.zst
re3-7fae683316db64e772fb82833d73860cc16cf03a.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];