SW: Draw the status bar under the menu instead of over it

git-svn-id: https://svn.eduke32.com/eduke32@8354 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2019-12-05 05:40:38 +00:00 committed by Christoph Oelckers
parent 22a778a22c
commit 007d16712c
2 changed files with 3 additions and 2 deletions

View file

@ -2610,7 +2610,7 @@ DrawCompass(PLAYERp pp)
start_ang = NORM_CANG(start_ang - 4);
flags = ROTATE_SPRITE_SCREEN_CLIP | ROTATE_SPRITE_CORNER;
if (RedrawCompass)
if (RedrawCompass && !UsingMenus)
{
RedrawCompass = FALSE;
SET(flags, ROTATE_SPRITE_ALL_PAGES);

View file

@ -7597,7 +7597,8 @@ pDisplaySprites(PLAYERp pp)
}
#if 1
if (TEST(psp->flags, PANF_KILL_AFTER_SHOW) && !TEST(psp->flags, PANF_NOT_ALL_PAGES))
extern SWBOOL UsingMenus;
if (TEST(psp->flags, PANF_KILL_AFTER_SHOW) && !TEST(psp->flags, PANF_NOT_ALL_PAGES) && !UsingMenus)
{
psp->numpages = 0;
SET(flags, ROTATE_SPRITE_ALL_PAGES);