summaryrefslogtreecommitdiff
path: root/src/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/fox_hud.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/engine/fox_hud.c b/src/engine/fox_hud.c
index c14877bf..376d5f7b 100644
--- a/src/engine/fox_hud.c
+++ b/src/engine/fox_hud.c
@@ -317,6 +317,7 @@ void HUD_GoldRings_Draw(void) {
f32 x;
f32 y;
s32 goldRingFrameIdx;
+ s16 newX = OTRGetRectDimensionFromLeftEdge(0);
sGoldRingsFwork[6] += 0.7f;
if (sGoldRingsFwork[6] >= 12.0f) {
@@ -371,8 +372,8 @@ void HUD_GoldRings_Draw(void) {
y += 7.00f;
scale += 0.06f;
}
-
- Matrix_Translate(gGfxMatrix, x, y, -100.0f, MTXF_NEW);
+
+ Matrix_Translate(gGfxMatrix, newX + x, y, -100.0f, MTXF_NEW);
Matrix_Scale(gGfxMatrix, scale, scale, scale, MTXF_APPLY);
Matrix_SetGfxMtx(&gMasterDisp);
gDPSetPrimColor(gMasterDisp++, 0, 0, 180, 180, 0, 50);