1
0
mirror of https://github.com/halpz/re3.git synced 2025-07-04 10:50:44 +00:00

Hide Vehicle/Zone name during Wasted/Busted...

Fixed little mistake in my latest commit.
This commit is contained in:
gennariarmando
2020-04-18 18:13:47 +02:00
parent 522d14814f
commit ffe5dce7f5
3 changed files with 15 additions and 3 deletions

@ -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();