diff options
author | aap <aap@papnet.eu> | 2019-06-22 21:29:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-22 21:29:14 +0200 |
commit | 7a77f995b2f08b998d72d8db44790a0606f2d52d (patch) | |
tree | e044cb90c729554cf56ed76c039231bb04c78671 /src/render/Hud.cpp | |
parent | ad885bb54fafd5c322ea35699171608eb28530ef (diff) | |
parent | 4f9eff19b2edb682b91efe8d077fb12598178a20 (diff) |
Merge pull request #32 from Nick007J/master
Added replay functions
Diffstat (limited to 'src/render/Hud.cpp')
-rw-r--r-- | src/render/Hud.cpp | 4 |
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]) { |