diff options
| author | KiritoDv <kiritodev01@gmail.com> | 2024-04-13 03:14:01 -0600 |
|---|---|---|
| committer | Sonic Dreamcaster <alejandro.asenjo88@gmail.com> | 2024-09-17 19:26:49 -0300 |
| commit | a041298125789720e99da013a5f359bc833ef3e4 (patch) | |
| tree | 6b109085aa1490c65c3fd5904419810687fd9623 /src/engine | |
| parent | e38e82535d5296511561e79c9587e8d35ac43b31 (diff) | |
Fixed off-by-one bug on health meter
Diffstat (limited to 'src/engine')
| -rw-r--r-- | src/engine/fox_hud.c | 4 |
1 files 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); } |
