Blood: fix placement of powerup counters on alt HUD

This commit is contained in:
Christoph Oelckers 2024-10-27 07:23:32 +01:00
parent c6f1990495
commit 0fa0e3da23

View file

@ -773,11 +773,12 @@ class BloodStatusBar : RazeStatusBar
override void AltHUDOverlay(SummaryInfo summary) override void AltHUDOverlay(SummaryInfo summary)
{ {
BeginStatusBar(false, 320, 200, 28); BeginHUD(1, false, 320, 200);
let pPlayer = Blood.GetViewPlayer(); let pPlayer = Blood.GetViewPlayer();
if (pPlayer.throwPower) if (pPlayer.throwPower)
TileHGauge("ThrowGauge", 124, 175, pPlayer.throwPower, 1); TileHGauge("ThrowGauge", 124, 175, pPlayer.throwPower, 1);
drawPowerups(pPlayer); drawPowerups(pPlayer);
BeginStatusBar(false, 320, 200, 28);
} }
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------