diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-10-04 00:18:47 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-10-04 00:18:47 +0200 |
commit | 6b4f6e05e2612af715246de58c28128d358b6916 (patch) | |
tree | dc2490e7fd6dc7123991840401048c06da6cd3ec /src/render/Hud.cpp | |
parent | Merge branch 'master' of git://github.com/GTAmodding/re3 into erorcun (diff) | |
parent | Fixed disappearing ammo count (diff) | |
download | re3-6b4f6e05e2612af715246de58c28128d358b6916.tar re3-6b4f6e05e2612af715246de58c28128d358b6916.tar.gz re3-6b4f6e05e2612af715246de58c28128d358b6916.tar.bz2 re3-6b4f6e05e2612af715246de58c28128d358b6916.tar.lz re3-6b4f6e05e2612af715246de58c28128d358b6916.tar.xz re3-6b4f6e05e2612af715246de58c28128d358b6916.tar.zst re3-6b4f6e05e2612af715246de58c28128d358b6916.zip |
Diffstat (limited to 'src/render/Hud.cpp')
-rw-r--r-- | src/render/Hud.cpp | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp index 2dae7551..ae0d4eb3 100644 --- a/src/render/Hud.cpp +++ b/src/render/Hud.cpp @@ -336,23 +336,6 @@ void CHud::Draw() AsciiToUnicode(sTemp, sPrint); - CFont::SetBackgroundOff(); - CFont::SetScale(SCREEN_SCALE_X(0.4f), SCREEN_SCALE_Y(0.6f)); - CFont::SetJustifyOff(); - CFont::SetCentreOn(); - CFont::SetCentreSize(SCREEN_SCALE_X(640.0f)); - CFont::SetPropOn(); - CFont::SetFontStyle(FONT_BANK); - - if (!CDarkel::FrenzyOnGoing()) { - if (WeaponType) { - if (WeaponType != WEAPONTYPE_BASEBALLBAT) { - CFont::SetColor(CRGBA(0, 0, 0, 255)); - CFont::PrintString(SCREEN_SCALE_FROM_RIGHT(66.0f), SCREEN_SCALE_Y(73.0f), sPrint); - } - } - } - /* DrawWeaponIcon */ @@ -368,6 +351,19 @@ void CHud::Draw() 1.0f, 1.0f); + CFont::SetBackgroundOff(); + CFont::SetScale(SCREEN_SCALE_X(0.4f), SCREEN_SCALE_Y(0.6f)); + CFont::SetJustifyOff(); + CFont::SetCentreOn(); + CFont::SetCentreSize(SCREEN_SCALE_X(640.0f)); + CFont::SetPropOn(); + CFont::SetFontStyle(FONT_BANK); + + if (!CDarkel::FrenzyOnGoing() && WeaponType != WEAPONTYPE_UNARMED && WeaponType != WEAPONTYPE_BASEBALLBAT) { + CFont::SetColor(CRGBA(0, 0, 0, 255)); + CFont::PrintString(SCREEN_SCALE_FROM_RIGHT(66.0f), SCREEN_SCALE_Y(73.0f), sPrint); + } + /* DrawHealth */ |