From 8a029cb4e128f46d4d17c254ca0d74af1b6ec53f Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Sat, 24 Jul 2021 22:06:00 +1000 Subject: [PATCH] - Blood: Fix ammo colour for status bar and first fullscreen HUD. * Reported by Spill. * Fixes #490. --- wadsrc/static/zscript/games/blood/ui/sbar.zs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wadsrc/static/zscript/games/blood/ui/sbar.zs b/wadsrc/static/zscript/games/blood/ui/sbar.zs index 62fb5582d..3916ef660 100644 --- a/wadsrc/static/zscript/games/blood/ui/sbar.zs +++ b/wadsrc/static/zscript/games/blood/ui/sbar.zs @@ -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--) { @@ -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])