- Duke (RR): Adjust when to call DrawWeaponBar() within Statusbar().

* Partially addresses #1 of https://forum.zdoom.org/viewtopic.php?f=340&t=70284.
This commit is contained in:
Mitchell Richters 2020-10-22 19:54:39 +11:00
parent e63f5e1ae7
commit f46d9499a5

View file

@ -352,7 +352,7 @@ public:
BeginStatusBar(320, 200, wh + h); BeginStatusBar(320, 200, wh + h);
DrawInventory(p, 160, 154, 0); DrawInventory(p, 160, 154, 0);
if (hud_size < Hud_Stbar) if (hud_size <= Hud_Stbar)
DrawWeaponBar(p, top); DrawWeaponBar(p, top);
if (hud_size == Hud_StbarOverlay) Set43ClipRect(); if (hud_size == Hud_StbarOverlay) Set43ClipRect();