diff options
author | erorcun <erayorcunus@gmail.com> | 2020-04-18 20:38:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-18 20:38:33 +0200 |
commit | 6e24cb28ad0b1b0cdae7eee015f1ad7a8ae09206 (patch) | |
tree | 44739623bb7c4b981495e41a31af7ca56db4cd64 /src/render/Hud.cpp | |
parent | Merge pull request #473 from erorcun/erorcun (diff) | |
parent | Hide Vehicle/Zone name during Wasted/Busted... (diff) | |
download | re3-6e24cb28ad0b1b0cdae7eee015f1ad7a8ae09206.tar re3-6e24cb28ad0b1b0cdae7eee015f1ad7a8ae09206.tar.gz re3-6e24cb28ad0b1b0cdae7eee015f1ad7a8ae09206.tar.bz2 re3-6e24cb28ad0b1b0cdae7eee015f1ad7a8ae09206.tar.lz re3-6e24cb28ad0b1b0cdae7eee015f1ad7a8ae09206.tar.xz re3-6e24cb28ad0b1b0cdae7eee015f1ad7a8ae09206.tar.zst re3-6e24cb28ad0b1b0cdae7eee015f1ad7a8ae09206.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/Hud.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp index 03ffe59a..fc399741 100644 --- a/src/render/Hud.cpp +++ b/src/render/Hud.cpp @@ -473,7 +473,12 @@ void CHud::Draw() break; } + +#ifndef HUD_ENHANCEMENTS if (!m_Message[0]) { +#else + if (!m_Message[0] && !m_BigMessage[2][0]) { // Hide zone name if wasted/busted text is displaying +#endif m_ZoneNameTimer += CTimer::GetTimeStepInMilliseconds(); CFont::SetJustifyOff(); CFont::SetPropOn(); @@ -563,7 +568,11 @@ void CHud::Draw() break; } +#ifndef HUD_ENHANCEMENTS if (!m_Message[0]) { +#else + if (!m_Message[0] && !m_BigMessage[2][0]) { // Hide vehicle name if wasted/busted text is displaying +#endif m_VehicleNameTimer += CTimer::GetTimeStepInMilliseconds(); CFont::SetJustifyOff(); CFont::SetPropOn(); |