mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-09 03:37:49 +03:00
Fixed off-by-one bug on health meter
This commit is contained in:
parent
e38e82535d
commit
a041298125
@ -3098,8 +3098,8 @@ void HUD_DrawBossHealth(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (D_801616C4 >= 0.88f) {
|
if (D_801616C4 >= 0.88f) {
|
||||||
temp6 = sp3C + 8.0f;
|
temp6 = sp3C + 9.0f;
|
||||||
temp7 = 101.0f - ((2200.0f / 69.0f) * D_801616C8) + temp1;
|
temp7 = 101.0f - (31.884058f * D_801616C8) + temp1;
|
||||||
if (D_801616C8 > 0.0f) {
|
if (D_801616C8 > 0.0f) {
|
||||||
Lib_TextureRect_RGBA16(&gMasterDisp, D_Tex_800D99F8, 32, 32, temp6, temp7, 0.2f, D_801616C8);
|
Lib_TextureRect_RGBA16(&gMasterDisp, D_Tex_800D99F8, 32, 32, temp6, temp7, 0.2f, D_801616C8);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user