Skip to content
Permalink
Browse files

- oops, this didn't get through

  • Loading branch information...
madame-rachelle committed Aug 23, 2019
1 parent 179e526 commit 9456eeb8ecf93717d9654c200fb6b5ca7162cca5
Showing with 15 additions and 3 deletions.
  1. +15 −3 wadsrc/static/zscript/ui/statusbar/hexen_sbar.zs
@@ -106,9 +106,21 @@ class HexenStatusBar : BaseStatusBar
DrawImage("H2BAR", (0, 134), DI_ITEM_OFFSETS);

String Gem, Chain;
if (CPlayer.mo is "ClericPlayer") { Gem = "LIFEGMC2"; Chain = "CHAIN2"; }
else if (CPlayer.mo is "MagePlayer") { Gem = "LIFEGMM2"; Chain = "CHAIN3"; }
else { Gem = "LIFEGMF2"; Chain = "CHAIN"; }
if (CPlayer.mo is "ClericPlayer")
{
Gem = "LIFEGMC2";
Chain = "CHAIN2";
}
else if (CPlayer.mo is "MagePlayer")
{
Gem = "LIFEGMM2";
Chain = "CHAIN3";
}
else
{
Gem = "LIFEGMF2";
Chain = "CHAIN";
}

int inthealth = mHealthInterpolator2.GetValue();
DrawGem(Chain, Gem, inthealth, CPlayer.mo.GetMaxHealth(true), (30, 193), -23, 49, 15, (multiplayer? DI_TRANSLATABLE : 0) | DI_ITEM_LEFT_TOP);

0 comments on commit 9456eeb

Please sign in to comment.
You can’t perform that action at this time.