Redraw background when ud.screen_size >= 8, unconditional on ud.statusbarscale.

Classic HUD now has correct aspect in widescreen modes, so with the full status
bar, there may be patches of free room left to the left and right.

git-svn-id: https://svn.eduke32.com/eduke32@2914 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-08-16 21:48:58 +00:00
parent 786df72c6d
commit a5d68d46f0
2 changed files with 4 additions and 4 deletions

View file

@ -3354,7 +3354,7 @@ void G_DrawRooms(int32_t snum, int32_t smoothratio)
if (pub > 0 || getrendermode() >= 3) // JBF 20040101: redraw background always
{
if (getrendermode() >= 3 || ud.screen_size > 8 || (ud.screen_size == 8 && ud.statusbarscale<100))
if (ud.screen_size >= 8)
G_DrawBackground();
pub = 0;
}

View file

@ -55,17 +55,17 @@ enum dukeinv_t {
};
enum dukeweapon_t {
KNEE_WEAPON,
KNEE_WEAPON, // 0
PISTOL_WEAPON,
SHOTGUN_WEAPON,
CHAINGUN_WEAPON,
RPG_WEAPON,
HANDBOMB_WEAPON,
HANDBOMB_WEAPON, // 5
SHRINKER_WEAPON,
DEVISTATOR_WEAPON,
TRIPBOMB_WEAPON,
FREEZE_WEAPON,
HANDREMOTE_WEAPON,
HANDREMOTE_WEAPON, // 10
GROW_WEAPON,
MAX_WEAPONS
};