mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 01:21:17 +00:00
- oops, this didn't get through
This commit is contained in:
parent
8e78f973d0
commit
df2eab612d
1 changed files with 15 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue