Skip to content

Commit

Permalink
CHudBuildStateSentry: Fix hide level not respected when built
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamWillden committed Oct 29, 2020
1 parent 8edd68f commit 4fa25f8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cl_dll/ff/ff_hud_buildstate_sentry.cpp
Expand Up @@ -300,7 +300,10 @@ void CHudBuildStateSentry::OnTick()
{
m_bBuilt = true;
ShowItem(m_qiSentryHealth);
ShowItem(m_qiSentryLevel);
if(m_iHideLevel != ALWAYS)
{
ShowItem(m_qiSentryLevel);
}
SetToggleTextVisible(false);

if(m_iShowPanel != NEVER)
Expand Down

0 comments on commit 4fa25f8

Please sign in to comment.