summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-18 22:50:58 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-18 22:50:58 +0200
commit4c133a95bd96033a3782af56b86089d7fcb86a79 (patch)
tree47a6f6506fa5ff8b7c8e14da27bbfe9b97679e2b /src/render
parentreplays bug fix (diff)
parentslider fix (diff)
downloadre3-4c133a95bd96033a3782af56b86089d7fcb86a79.tar
re3-4c133a95bd96033a3782af56b86089d7fcb86a79.tar.gz
re3-4c133a95bd96033a3782af56b86089d7fcb86a79.tar.bz2
re3-4c133a95bd96033a3782af56b86089d7fcb86a79.tar.lz
re3-4c133a95bd96033a3782af56b86089d7fcb86a79.tar.xz
re3-4c133a95bd96033a3782af56b86089d7fcb86a79.tar.zst
re3-4c133a95bd96033a3782af56b86089d7fcb86a79.zip
Diffstat (limited to '')
-rw-r--r--src/render/Hud.cpp9
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();