diff options
author | erorcun <erayorcunus@gmail.com> | 2020-10-18 18:37:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-18 18:37:49 +0200 |
commit | 497c1792455a13f7ea0750274c9ba4b3e26830db (patch) | |
tree | ce2c434d0aba2a12b27d04d9ccf70502f05cf4c5 /src/render | |
parent | Merge branch 'miami' of https://github.com/GTAmodding/re3 into miami (diff) | |
parent | fix in ped attractor (diff) | |
download | re3-497c1792455a13f7ea0750274c9ba4b3e26830db.tar re3-497c1792455a13f7ea0750274c9ba4b3e26830db.tar.gz re3-497c1792455a13f7ea0750274c9ba4b3e26830db.tar.bz2 re3-497c1792455a13f7ea0750274c9ba4b3e26830db.tar.lz re3-497c1792455a13f7ea0750274c9ba4b3e26830db.tar.xz re3-497c1792455a13f7ea0750274c9ba4b3e26830db.tar.zst re3-497c1792455a13f7ea0750274c9ba4b3e26830db.zip |
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/Hud.cpp | 2 |
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); } |