summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-10-18 19:37:49 +0300
committerGitHub <noreply@github.com>2020-10-18 19:37:49 +0300
commit497c1792455a13f7ea0750274c9ba4b3e26830db (patch)
treece2c434d0aba2a12b27d04d9ccf70502f05cf4c5 /src/render
parent20ab7d1739f8678198c3c8883a20486f3adf1b0c (diff)
parent8d92a0681ac6a55ccec3927eb29c3ccf665d62a9 (diff)
Merge pull request #772 from Nick007J/miami
Original save/load support + bugfixes
Diffstat (limited to 'src/render')
-rw-r--r--src/render/Hud.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp
index 3ea756fa..753bb42b 100644
--- a/src/render/Hud.cpp
+++ b/src/render/Hud.cpp
@@ -583,7 +583,7 @@ void CHud::Draw()
CFont::PrintString(SCREEN_SCALE_FROM_RIGHT(182.0f), SCREEN_SCALE_Y(65.0f), sPrint);
- if (!CWorld::Players[CWorld::PlayerInFocus].m_nTimeLastArmourLoss || CTimer::GetTimeInMilliseconds() > CWorld::Players[CWorld::PlayerInFocus].m_nTimeLastArmourLoss + 2000 || CTimer::GetFrameCounter() & 1) {
+ if (!CWorld::Players[CWorld::PlayerInFocus].m_nTimeLastArmourLoss || CTimer::GetTimeInMilliseconds() > CWorld::Players[CWorld::PlayerInFocus].m_nTimeLastArmourLoss + 2000 || CTimer::GetFrameCounter() & 4) {
// CFont::SetColor(ARMOUR_COLOR);
CFont::PrintString(SCREEN_SCALE_FROM_RIGHT(182.0f + 52.0f), SCREEN_SCALE_Y(65.0f), sPrintIcon);
}