From 6e6f5dbb5ba116ec05e029d9ff2bed59b66601ab Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Wed, 2 Sep 2020 19:42:16 +1000 Subject: [PATCH] - Blood: Further tweak positioning for when ammo remaining gets lower than 10. --- source/blood/src/sbar.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/blood/src/sbar.cpp b/source/blood/src/sbar.cpp index 36841325a..6bad9101d 100644 --- a/source/blood/src/sbar.cpp +++ b/source/blood/src/sbar.cpp @@ -748,9 +748,10 @@ private: { FString format; short clip = CalcMagazineAmount(num, 2, pPlayer->weaponState == 1); + short total = num - clip; format.Format("%d/%d", clip, num - clip); - DrawCharArray(format.GetChars(), kSBarNumberAmmo, 258-320, 187 - 200, 0, 0, 512); + DrawCharArray(format.GetChars(), kSBarNumberAmmo, (total < 10 ? 267 : 258) - 320, 187 - 200, 0, 0, 512); } }