From a041298125789720e99da013a5f359bc833ef3e4 Mon Sep 17 00:00:00 2001 From: KiritoDv Date: Sat, 13 Apr 2024 03:14:01 -0600 Subject: [PATCH] Fixed off-by-one bug on health meter --- src/engine/fox_hud.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/fox_hud.c b/src/engine/fox_hud.c index ae3245a4..0102cc59 100644 --- a/src/engine/fox_hud.c +++ b/src/engine/fox_hud.c @@ -3098,8 +3098,8 @@ void HUD_DrawBossHealth(void) { } if (D_801616C4 >= 0.88f) { - temp6 = sp3C + 8.0f; - temp7 = 101.0f - ((2200.0f / 69.0f) * D_801616C8) + temp1; + temp6 = sp3C + 9.0f; + temp7 = 101.0f - (31.884058f * D_801616C8) + temp1; if (D_801616C8 > 0.0f) { Lib_TextureRect_RGBA16(&gMasterDisp, D_Tex_800D99F8, 32, 32, temp6, temp7, 0.2f, D_801616C8); }