From 62c61319011e8e0af0966affd053940b04d4ce4e Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Fri, 13 Jan 2023 11:06:42 +1100 Subject: [PATCH] - Duke: Make screen backdrop setup the same as the other games. --- source/games/duke/src/sbar.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/games/duke/src/sbar.cpp b/source/games/duke/src/sbar.cpp index 0c824ac3b..d9da4e82f 100644 --- a/source/games/duke/src/sbar.cpp +++ b/source/games/duke/src/sbar.cpp @@ -48,7 +48,7 @@ BEGIN_DUKE_NS // //========================================================================== -void DrawBorder() +void UpdateFrame() { auto tex = tileGetTexture(TILE_SCREENBORDER); if (tex != nullptr && tex->isValid()) @@ -94,7 +94,10 @@ void DrawBorder() void DrawStatusBar() { - DrawBorder(); + if (hud_size <= Hud_Stbar) + { + UpdateFrame(); + } SummaryInfo info{};