summaryrefslogtreecommitdiffstats
path: root/src/render/Hud.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-22 21:29:14 +0200
committerGitHub <noreply@github.com>2019-06-22 21:29:14 +0200
commit7a77f995b2f08b998d72d8db44790a0606f2d52d (patch)
treee044cb90c729554cf56ed76c039231bb04c78671 /src/render/Hud.cpp
parentbla (diff)
parentattempt to fix build error (diff)
downloadre3-7a77f995b2f08b998d72d8db44790a0606f2d52d.tar
re3-7a77f995b2f08b998d72d8db44790a0606f2d52d.tar.gz
re3-7a77f995b2f08b998d72d8db44790a0606f2d52d.tar.bz2
re3-7a77f995b2f08b998d72d8db44790a0606f2d52d.tar.lz
re3-7a77f995b2f08b998d72d8db44790a0606f2d52d.tar.xz
re3-7a77f995b2f08b998d72d8db44790a0606f2d52d.tar.zst
re3-7a77f995b2f08b998d72d8db44790a0606f2d52d.zip
Diffstat (limited to 'src/render/Hud.cpp')
-rw-r--r--src/render/Hud.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp
index 96e50f06..23a796e6 100644
--- a/src/render/Hud.cpp
+++ b/src/render/Hud.cpp
@@ -189,7 +189,7 @@ void CHud::Draw()
RwRenderStateSet(rwRENDERSTATESHADEMODE, (void*)rwSHADEMODEFLAT);
RwRenderStateSet(rwRENDERSTATETEXTUREFILTER, (void*)rwFILTERLINEAR);
- if (CReplay::Mode != 1) {
+ if (!CReplay::IsPlayingBack()) {
if (m_Wants_To_Draw_Hud && !TheCamera.m_WideScreenOn) {
bool Mode_RunAround = 0;
bool Mode_FirstPerson = 0;
@@ -1063,7 +1063,7 @@ WRAPPER void CHud::DrawAfterFade(void) { EAXJMP(0x509030); }
#else
void CHud::DrawAfterFade()
{
- if (CTimer::GetIsUserPaused() || CReplay::Mode == 1)
+ if (CTimer::GetIsUserPaused() || CReplay::IsPlayingBack())
return;
if (m_HelpMessage[0]) {