From ddd6fbdc85a16720b4015f18be495499c1db51e7 Mon Sep 17 00:00:00 2001 From: MegaMech Date: Sat, 7 Jun 2025 18:55:44 -0600 Subject: [PATCH] interp falling rock shadow --- src/actors/falling_rock/render.inc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/actors/falling_rock/render.inc.c b/src/actors/falling_rock/render.inc.c index d0d5aa0dc..a2d132b01 100644 --- a/src/actors/falling_rock/render.inc.c +++ b/src/actors/falling_rock/render.inc.c @@ -43,11 +43,14 @@ void render_actor_falling_rock(Camera* camera, struct FallingRock* rock) { sp98[2] = 0; sp8C[1] = height + 2.0f; + FrameInterpolation_RecordOpenChild("rock_shadow", (uintptr_t) rock); mtxf_pos_rotation_xyz(mtx, sp8C, sp98); if (render_set_position(mtx, 0) == 0) { + FrameInterpolation_RecordCloseChild(); return; } gSPDisplayList(gDisplayListHead++, d_course_choco_mountain_dl_6F88); + FrameInterpolation_RecordCloseChild(); } }