From f46d9499a56b82e2ec0f1f2c897ff065b565489b Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Thu, 22 Oct 2020 19:54:39 +1100 Subject: [PATCH] - Duke (RR): Adjust when to call `DrawWeaponBar()` within `Statusbar()`. * Partially addresses #1 of https://forum.zdoom.org/viewtopic.php?f=340&t=70284. --- source/games/duke/src/sbar_r.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/sbar_r.cpp b/source/games/duke/src/sbar_r.cpp index d9c3dde20..6189d2f86 100644 --- a/source/games/duke/src/sbar_r.cpp +++ b/source/games/duke/src/sbar_r.cpp @@ -352,7 +352,7 @@ public: BeginStatusBar(320, 200, wh + h); DrawInventory(p, 160, 154, 0); - if (hud_size < Hud_Stbar) + if (hud_size <= Hud_Stbar) DrawWeaponBar(p, top); if (hud_size == Hud_StbarOverlay) Set43ClipRect();