fix hud occluded (#379)

This commit is contained in:
coco875
2025-06-26 17:40:05 +00:00
committed by GitHub
parent f828137857
commit bc7d2cd1bb
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -1022,6 +1022,7 @@ void func_800591B4(void) {
if ((gHUDDisable == 0) && (D_800DC5B8 != 0)) {
func_80057C60();
gSPDisplayList(gDisplayListHead++, D_0D0076F8);
gSPClearGeometryMode(gDisplayListHead++, G_ZBUFFER);
if (gIsHUDVisible != 0) {
if (D_801657D8 == 0) {
+2
View File
@@ -2702,7 +2702,9 @@ void func_8004EB38(s32 playerId) {
}
}
// render the speedometer for the player
void func_8004ED40(s32 arg0) {
gSPClearGeometryMode(gDisplayListHead++, G_ZBUFFER);
func_8004A2F4(playerHUD[arg0].speedometerX, playerHUD[arg0].speedometerY, 0U, 1.0f,
// RGBA
CM_GetProps()->Minimap.Colour.r, CM_GetProps()->Minimap.Colour.g, CM_GetProps()->Minimap.Colour.b,