summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSonic Dreamcaster <alejandro.asenjo88@gmail.com>2025-05-20 18:56:57 -0300
committerSonic Dreamcaster <alejandro.asenjo88@gmail.com>2025-05-20 18:56:57 -0300
commit86dc0b0a998519ca33efaaafc2945c6b095de979 (patch)
tree9ad0ac5489daeaefb94c4118433f2a72d170dbef
parenta4cd829b07cd6702bbaf86f8b0abd5a065086a7b (diff)
remove innecessary rock tag
-rw-r--r--src/actors/falling_rock/render.inc.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/actors/falling_rock/render.inc.c b/src/actors/falling_rock/render.inc.c
index 9d50fd41c..e5ea29188 100644
--- a/src/actors/falling_rock/render.inc.c
+++ b/src/actors/falling_rock/render.inc.c
@@ -17,9 +17,6 @@ void render_actor_falling_rock(Camera* camera, struct FallingRock* rock) {
f32 height;
UNUSED s32 pad[4];
- // @port: Tag the transform.
- FrameInterpolation_RecordOpenChild("rock", TAG_ITEM_ADDR(rock)); //Not working properly just yet
-
if (rock->respawnTimer != 0) {
return;
}
@@ -55,11 +52,10 @@ void render_actor_falling_rock(Camera* camera, struct FallingRock* rock) {
}
mtxf_pos_rotation_xyz(mtx, rock->pos, rock->rot);
+
if (render_set_position(mtx, 0) == 0) {
return;
}
- gSPDisplayList(gDisplayListHead++, d_course_choco_mountain_dl_falling_rock);
- // @port Pop the transform id.
- FrameInterpolation_RecordCloseChild();
+ gSPDisplayList(gDisplayListHead++, d_course_choco_mountain_dl_falling_rock);
}