mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
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:
parent
22a778a22c
commit
007d16712c
2 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue