mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
- Fixed: DBaseStatusBar::Draw shouldn't run for the AltHud.
SVN r4032 (trunk)
This commit is contained in:
parent
dcb1a3c8bd
commit
7f81d881f8
1 changed files with 4 additions and 0 deletions
|
@ -1227,6 +1227,10 @@ void DBaseStatusBar::DrawMessages (int layer, int bottom)
|
||||||
|
|
||||||
void DBaseStatusBar::Draw (EHudState state)
|
void DBaseStatusBar::Draw (EHudState state)
|
||||||
{
|
{
|
||||||
|
// HUD_AltHud state is for popups only
|
||||||
|
if (state == HUD_AltHud)
|
||||||
|
return;
|
||||||
|
|
||||||
char line[64+10];
|
char line[64+10];
|
||||||
|
|
||||||
if ((SB_state != 0 || BorderNeedRefresh) && state == HUD_StatusBar)
|
if ((SB_state != 0 || BorderNeedRefresh) && state == HUD_StatusBar)
|
||||||
|
|
Loading…
Reference in a new issue