mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 23:33:00 +00:00
- Fixed: Hexen's status bar top graphic was drawn 1 pixel too low.
- Fixed: Artiflash played on initial save loading. I seem to recall this looking like an intentional change, but perhaps I broke it since it's completely pointless to play the animation only on the first load of a save game if nothing has been loaded beforehand.
This commit is contained in:
parent
e46b25f628
commit
c9214c1ce9
2 changed files with 3 additions and 3 deletions
|
@ -1730,7 +1730,7 @@ class CommandDrawSelectedInventory : public CommandDrawImage, private CommandDra
|
||||||
static int artiflashTick;
|
static int artiflashTick;
|
||||||
static fixed_t itemflashFade;
|
static fixed_t itemflashFade;
|
||||||
};
|
};
|
||||||
int CommandDrawSelectedInventory::artiflashTick = 4;
|
int CommandDrawSelectedInventory::artiflashTick = 0;
|
||||||
int CommandDrawSelectedInventory::itemflashFade = FRACUNIT*3/4;
|
int CommandDrawSelectedInventory::itemflashFade = FRACUNIT*3/4;
|
||||||
|
|
||||||
void DSBarInfo::FlashItem(const PClass *itemtype)
|
void DSBarInfo::FlashItem(const PClass *itemtype)
|
||||||
|
|
|
@ -51,7 +51,7 @@ statusbar fullscreen, fullscreenoffsets
|
||||||
|
|
||||||
statusbar Normal
|
statusbar Normal
|
||||||
{
|
{
|
||||||
drawimage "H2BAR", 0, 135;
|
drawimage "H2BAR", 0, 134;
|
||||||
drawimage "STATBAR", 38, 162;
|
drawimage "STATBAR", 38, 162;
|
||||||
|
|
||||||
drawselectedinventory artiflash, INDEXFONT_RAVEN, 143, 163, 174, 184, untranslated;
|
drawselectedinventory artiflash, INDEXFONT_RAVEN, 143, 163, 174, 184, untranslated;
|
||||||
|
@ -204,7 +204,7 @@ statusbar Normal
|
||||||
|
|
||||||
statusbar Automap
|
statusbar Automap
|
||||||
{
|
{
|
||||||
drawimage "H2BAR", 0, 135;
|
drawimage "H2BAR", 0, 134;
|
||||||
drawimage "KEYBAR", 38, 162;
|
drawimage "KEYBAR", 38, 162;
|
||||||
drawkeybar 5, horizontal, 20, 46, 164;
|
drawkeybar 5, horizontal, 20, 46, 164;
|
||||||
drawimage hexenarmor(armor, "ARMSLOT1"), 150, 164;
|
drawimage hexenarmor(armor, "ARMSLOT1"), 150, 164;
|
||||||
|
|
Loading…
Reference in a new issue