From 7f81d881f8a32b4840ae3a9b07fde17f95679890 Mon Sep 17 00:00:00 2001 From: Braden Obrzut Date: Wed, 23 Jan 2013 01:47:06 +0000 Subject: [PATCH] - Fixed: DBaseStatusBar::Draw shouldn't run for the AltHud. SVN r4032 (trunk) --- src/g_shared/shared_sbar.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/g_shared/shared_sbar.cpp b/src/g_shared/shared_sbar.cpp index 5c0ba7ae19..eb739e6c21 100644 --- a/src/g_shared/shared_sbar.cpp +++ b/src/g_shared/shared_sbar.cpp @@ -1227,6 +1227,10 @@ void DBaseStatusBar::DrawMessages (int layer, int bottom) void DBaseStatusBar::Draw (EHudState state) { + // HUD_AltHud state is for popups only + if (state == HUD_AltHud) + return; + char line[64+10]; if ((SB_state != 0 || BorderNeedRefresh) && state == HUD_StatusBar)