diff options
| author | Sonic Dreamcaster <alejandro.asenjo88@gmail.com> | 2024-11-18 03:50:14 -0300 |
|---|---|---|
| committer | Sonic Dreamcaster <alejandro.asenjo88@gmail.com> | 2024-11-18 03:50:14 -0300 |
| commit | 03524a3abef4b40eb647126c8f10ef8120255bef (patch) | |
| tree | 465d7a0e1dd544028f9eb09333320461d2beafe7 /src/engine | |
| parent | 570614a19fb05fa6c3a32ae38f8c349ade2013e4 (diff) | |
| parent | da42f90cd301968a37d280a5f89caa197ca1b30d (diff) | |
Merge branch 'audio_fixes_v2' of https://github.com/HarbourMasters/Starship into audio_fixes_v2
Diffstat (limited to 'src/engine')
| -rw-r--r-- | src/engine/fox_hud.c | 5 |
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); |
