From 1e8066ac59815b50b3ff69305fa31d31b3d1d075 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Wed, 2 Sep 2020 19:13:30 +1000 Subject: [PATCH] - Blood: Tweak positioning for when using `cl_showmagamt 1`. This moves the ammo count and inventory item icon/count over by 9px to compensate. --- source/blood/src/sbar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blood/src/sbar.cpp b/source/blood/src/sbar.cpp index e1e342bfd..36841325a 100644 --- a/source/blood/src/sbar.cpp +++ b/source/blood/src/sbar.cpp @@ -728,7 +728,7 @@ private: DrawStatNumber("%3d", pPlayer->armor[2] >> 4, kSBarNumberArmor3, 170, 187 - 200, 0, 0, 256, (int)(65536 * 0.65)); } - DrawPackItemInStatusBar2(pPlayer, 225 - 320, 194 - 200, 240 - 320, 187 - 200, 512, (int)(65536 * 0.7)); + DrawPackItemInStatusBar2(pPlayer, 216 - 320, 194 - 200, 231 - 320, 187 - 200, 512, (int)(65536 * 0.7)); if (pPlayer->curWeapon && pPlayer->weaponAmmo != -1) { @@ -750,7 +750,7 @@ private: short clip = CalcMagazineAmount(num, 2, pPlayer->weaponState == 1); format.Format("%d/%d", clip, num - clip); - DrawCharArray(format.GetChars(), kSBarNumberAmmo, 267-320, 187 - 200, 0, 0, 512); + DrawCharArray(format.GetChars(), kSBarNumberAmmo, 258-320, 187 - 200, 0, 0, 512); } }