mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
Fix the health bar on Strife status bar (#1080)
* Fix the health bar on Strife status bar Now, if the player's health is above 100, the green health bar won't be shortened any more. * Fix the bar properly Now, the blue and green bars don't overlap. Also, health above 100 goes from right to left, like in Strife: Veteran Edition.
This commit is contained in:
parent
5f8b313446
commit
b6f0c4071d
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ class StrifeStatusBar : BaseStatusBar
|
|||
{
|
||||
int stopp = 200 - health;
|
||||
FillBar (x, y, 0, stopp, green1, green2);
|
||||
FillBar (x, y, stopp, 100, blue1, blue2);
|
||||
FillBar (x + stopp * 2, y, stopp, 100, blue1, blue2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue