From 72c4a5281cd4a98df11e89b8083d4295231d89a6 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Wed, 29 Jul 2020 09:17:57 +1000 Subject: [PATCH] - move inventory item used amount down 0.5px in Duke FullscreenHUD1 to perfectly line it up. --- source/games/duke/src/sbar_d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/sbar_d.cpp b/source/games/duke/src/sbar_d.cpp index fdc1dd657..f88beb0ec 100644 --- a/source/games/duke/src/sbar_d.cpp +++ b/source/games/duke/src/sbar_d.cpp @@ -186,7 +186,7 @@ public: int percentv = getinvamount(p); format.Format("%3d%%", percentv); EColorRange color = percentv > 50 ? CR_GREEN : percentv > 25 ? CR_GOLD : CR_RED; - SBar_DrawString(this, &indexFont, format, x + 36.5, -indexFont.mFont->GetHeight(), DI_TEXT_ALIGN_RIGHT, color, 1, 0, 0, 1, 1); + SBar_DrawString(this, &indexFont, format, x + 36.5, -indexFont.mFont->GetHeight() + 0.5, DI_TEXT_ALIGN_RIGHT, color, 1, 0, 0, 1, 1); auto text = ontext(p); if (text.first) SBar_DrawString(this, &miniFont, text.first, x + 36.5, -miniFont.mFont->GetHeight() - 9.5, DI_TEXT_ALIGN_RIGHT, text.second, 1, 0, 0, 1, 1);