mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +00:00
- Blood: Fix ammo colour for status bar and first fullscreen HUD.
* Reported by Spill. * Fixes #490.
This commit is contained in:
parent
a55b8f716d
commit
8a029cb4e1
1 changed files with 2 additions and 2 deletions
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue