diff options
| author | coco875 <59367621+coco875@users.noreply.github.com> | 2025-06-26 17:40:05 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-26 11:40:05 -0600 |
| commit | bc7d2cd1bb1641a69b072a7be6817442676e2f6f (patch) | |
| tree | 174c2796a2f5bc2ac1e144bda42de557213ddec0 | |
| parent | f8281378574f9777de79f1d7f272a3967c75d15f (diff) | |
fix hud occluded (#379)
| -rw-r--r-- | src/code_80057C60.c | 1 | ||||
| -rw-r--r-- | src/render_objects.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/code_80057C60.c b/src/code_80057C60.c index 44bb936d5..d1d9c2d51 100644 --- a/src/code_80057C60.c +++ b/src/code_80057C60.c @@ -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) { diff --git a/src/render_objects.c b/src/render_objects.c index e2de16cbe..a11bb847f 100644 --- a/src/render_objects.c +++ b/src/render_objects.c @@ -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, |
