- Blood: Further tweak positioning for when ammo remaining gets lower than 10.

This commit is contained in:
Mitchell Richters 2020-09-02 19:42:16 +10:00
parent 1e8066ac59
commit 6e6f5dbb5b

View file

@ -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);
}
}