Skip to content

Commit

Permalink
- Blood: Fix ammo colour for status bar and first fullscreen HUD.
Browse files Browse the repository at this point in the history
* Reported by Spill.
* Fixes #490.
  • Loading branch information
mjr4077au committed Jul 24, 2021
1 parent a55b8f7 commit 8a029cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wadsrc/static/zscript/games/blood/ui/sbar.zs
Expand Up @@ -507,7 +507,7 @@ class BloodStatusBar : RazeStatusBar
int num = pPlayer.ammoCount[pPlayer.weaponAmmo];
if (pPlayer.weaponAmmo == 6)
num /= 10;
DrawStatNumber("%3d", num, "SBarHealthAmount", 216, 183, 0, 0);
DrawStatNumber("%3d", num, "SBarNumberAmmo", 216, 183, 0, 0);
}
for (int i = 9; i >= 1; i--)
{
Expand Down Expand Up @@ -578,7 +578,7 @@ class BloodStatusBar : RazeStatusBar
int num = pPlayer.ammoCount[pPlayer.weaponAmmo];
if (pPlayer.weaponAmmo == 6)
num /= 10;
DrawStatNumber("%3d", num, "SBarHealthAmount", 42, 183 - 200, 0, 0);
DrawStatNumber("%3d", num, "SBarNumberAmmo", 42, 183 - 200, 0, 0);
}
DrawImage("ArmorBox", (284 - 320, 187 - 200), DI_ITEM_RELCENTER, style:STYLE_Normal, col:0xffc0c0c0, translation:nPalette);
if (pPlayer.armor[1])
Expand Down

0 comments on commit 8a029cb

Please sign in to comment.