From df2eab612d51d8c56b11c6fd0ec9447e4b8ce2c9 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Fri, 23 Aug 2019 05:56:10 -0400 Subject: [PATCH] - oops, this didn't get through --- .../static/zscript/ui/statusbar/hexen_sbar.zs | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/wadsrc/static/zscript/ui/statusbar/hexen_sbar.zs b/wadsrc/static/zscript/ui/statusbar/hexen_sbar.zs index 0b3bb596c..6f1cc4923 100644 --- a/wadsrc/static/zscript/ui/statusbar/hexen_sbar.zs +++ b/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);