summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-07-04 00:23:19 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-07-04 00:23:19 +0200
commit835b7cac2201d09d16b0ea5fcc34e101e8261c2d (patch)
treedee89898d81e7c3772dd51c44958314093d06167
parentMerge pull request #106 from Nick007J/master (diff)
downloadre3-835b7cac2201d09d16b0ea5fcc34e101e8261c2d.tar
re3-835b7cac2201d09d16b0ea5fcc34e101e8261c2d.tar.gz
re3-835b7cac2201d09d16b0ea5fcc34e101e8261c2d.tar.bz2
re3-835b7cac2201d09d16b0ea5fcc34e101e8261c2d.tar.lz
re3-835b7cac2201d09d16b0ea5fcc34e101e8261c2d.tar.xz
re3-835b7cac2201d09d16b0ea5fcc34e101e8261c2d.tar.zst
re3-835b7cac2201d09d16b0ea5fcc34e101e8261c2d.zip
-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 d36675cf..081aaa64 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;
+int16 &CHud::m_ItemToFlash = *(int16*)0x95CC82;
// These aren't really in CHud
float CHud::BigMessageInUse[6];
diff --git a/src/render/Hud.h b/src/render/Hud.h
index df02b4d0..1567abdc 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 int16 &m_ItemToFlash;
// These aren't really in CHud
static float BigMessageInUse[6];