From 35327ee3aaf2dc1f8ca1b8a760468e9da5110ed6 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Sun, 26 Jul 2020 11:43:34 +1000 Subject: [PATCH] - fix pos of armor font and inventory icon. * Inventory text color still requires discussion. --- source/games/duke/src/sbar_d.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/games/duke/src/sbar_d.cpp b/source/games/duke/src/sbar_d.cpp index 500ac7d77..e616dc19e 100644 --- a/source/games/duke/src/sbar_d.cpp +++ b/source/games/duke/src/sbar_d.cpp @@ -381,7 +381,7 @@ public: format.Format("%d", num); SBar_DrawString(this, &digiFont, format, 31, top + 17, DI_TEXT_ALIGN_CENTER, CR_UNTRANSLATED, 1, 0, 0, 1, 1); format.Format("%d", GetMoraleOrShield(p, snum)); - SBar_DrawString(this, &digiFont, format, 64, top + 17, DI_TEXT_ALIGN_CENTER, CR_UNTRANSLATED, 1, 0, 0, 1, 1); + SBar_DrawString(this, &digiFont, format, 63, top + 17, DI_TEXT_ALIGN_CENTER, CR_UNTRANSLATED, 1, 0, 0, 1, 1); if (p->curr_weapon != KNEE_WEAPON) { @@ -395,7 +395,7 @@ public: { int x = 231; if (icon < ICON_MAX) - DrawGraphic(tileGetTexture(item_icons[icon]), x, top + 20, DI_ITEM_LEFT | DI_ITEM_VCENTER, 1, -1, -1, 1, 1); + DrawGraphic(tileGetTexture(item_icons[icon]), x, top + 20.5, DI_ITEM_LEFT | DI_ITEM_VCENTER, 1, -1, -1, 1, 1); int percentv = getinvamount(p); format.Format("%3d%%", percentv);