summaryrefslogtreecommitdiffstats
path: root/src/render/Hud.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-10-17 19:45:07 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-10-17 19:45:07 +0200
commit720abca8269dfeb725c58d016eb88f2c124170b9 (patch)
tree8a8d7edf553c0f920ced15645a675225137cf7bd /src/render/Hud.cpp
parentMerge remote-tracking branch 'upstream/miami' into miami (diff)
downloadre3-720abca8269dfeb725c58d016eb88f2c124170b9.tar
re3-720abca8269dfeb725c58d016eb88f2c124170b9.tar.gz
re3-720abca8269dfeb725c58d016eb88f2c124170b9.tar.bz2
re3-720abca8269dfeb725c58d016eb88f2c124170b9.tar.lz
re3-720abca8269dfeb725c58d016eb88f2c124170b9.tar.xz
re3-720abca8269dfeb725c58d016eb88f2c124170b9.tar.zst
re3-720abca8269dfeb725c58d016eb88f2c124170b9.zip
Diffstat (limited to 'src/render/Hud.cpp')
-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);
}