Skip to content

Commit

Permalink
health theme MIN(head, torso) instead of average
Browse files Browse the repository at this point in the history
  • Loading branch information
Die4Ever committed Nov 26, 2023
1 parent 5cf1832 commit 2d80276
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GUI/DeusEx/Classes/ColorThemeHUD_Health.uc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function SetUIColour()
{
local float critHealth;
if (player!=None){
critHealth = (player.HealthHead + player.HealthTorso)/2.0;
critHealth = MIN(player.HealthHead, player.HealthTorso);
player.GenerateTotalHealth();

FindHealthColour(MIN(player.Health,critHealth));
Expand Down
2 changes: 1 addition & 1 deletion GUI/DeusEx/Classes/ColorThemeMenu_Health.uc
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function SetUIColour()
{
local float critHealth;
if (player!=None){
critHealth = (player.HealthHead + player.HealthTorso)/2.0;
critHealth = MIN(player.HealthHead, player.HealthTorso);
player.GenerateTotalHealth();

FindHealthColour(MIN(player.Health,critHealth));
Expand Down

0 comments on commit 2d80276

Please sign in to comment.