mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-15 12:10:53 +00:00
- Blood: Further tweak positioning for when ammo remaining gets lower than 10.
This commit is contained in:
parent
1e8066ac59
commit
6e6f5dbb5b
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue