Skip to content

Commit

Permalink
- Blood: fixed throw power meter.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed May 16, 2021
1 parent 5e94eaf commit 88fe8e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wadsrc/static/zscript/games/blood/ui/sbar.zs
Expand Up @@ -561,7 +561,7 @@ class BloodStatusBar : RazeStatusBar
DrawImage("BlinkIcon", (201.5, 185.5), DI_ITEM_RELCENTER, col:0xff606060);
if (pPlayer.throwPower)
{
TileHGauge("ThrowGauge", 124, 175.5, pPlayer.throwPower, 1);
TileHGauge("ThrowGauge", 124, 175.5, pPlayer.throwPower, 65536);
}
drawInventory(pPlayer, 166, 200 - th);
// Depending on the scale we can lower the stats display. This needs some tweaking but this catches the important default case already.
Expand Down Expand Up @@ -701,7 +701,7 @@ class BloodStatusBar : RazeStatusBar

BeginStatusBar(false, 320, 200, 28);
if (pPlayer.throwPower)
TileHGauge("ThrowGauge", 124, 175, pPlayer.throwPower, 1);
TileHGauge("ThrowGauge", 124, 175, pPlayer.throwPower, 65536);
else
drawInventory(pPlayer, 166, 200 - texHeight("FULLHUD") / 2 - 30);
return 28;
Expand Down Expand Up @@ -738,7 +738,7 @@ class BloodStatusBar : RazeStatusBar
{
BeginStatusBar(false, 320, 200, 28);
if (pPlayer.throwPower)
TileHGauge("ThrowGauge", 124, 175, pPlayer.throwPower, 1);
TileHGauge("ThrowGauge", 124, 175, pPlayer.throwPower, 65536);
else if (hud_size > Hud_StbarOverlay)
drawInventory(pPlayer, 166, 200 - texHeight("FullHUD") / 2);
}
Expand Down

0 comments on commit 88fe8e4

Please sign in to comment.