summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsitton76 <58642183+sitton76@users.noreply.github.com>2025-05-20 22:44:51 -0500
committersitton76 <58642183+sitton76@users.noreply.github.com>2025-05-20 22:44:51 -0500
commit622795584c1161b4a167575c78f0ff932318ca5f (patch)
tree7b595c995175ebb2bb66c58c7d14eb7151345d12
parentc97a211a91bff70905e5525fefc5dfa669fca984 (diff)
Shell flames handled better.
-rw-r--r--src/render_objects.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/render_objects.c b/src/render_objects.c
index f2fd0a67c..3b6aa44c6 100644
--- a/src/render_objects.c
+++ b/src/render_objects.c
@@ -3943,11 +3943,11 @@ void render_object_smoke_particles(s32 cameraId) {
D_80183E80[0] = 0;
D_80183E80[2] = 0x8000;
for (i = 0; i < gObjectParticle4_SIZE; i++) {
- // @port: Tag the transform.
- FrameInterpolation_RecordOpenChild("SmokeParticles", (uintptr_t) i);
objectIndex = gObjectParticle4[i];
if (objectIndex != NULL_OBJECT_ID) {
object = &gObjectList[objectIndex];
+ // @port: Tag the transform.
+ FrameInterpolation_RecordOpenChild("SmokeParticles", (uintptr_t) object);
if (object->state >= 2) {
if (object->unk_0D8 == 3) {
func_8008A364(objectIndex, cameraId, 0x4000U, 0x00000514);
@@ -3958,11 +3958,10 @@ void render_object_smoke_particles(s32 cameraId) {
func_8005477C(objectIndex, object->unk_0D8, sp54->pos);
}
}
+ // @port Pop the transform id.
+ FrameInterpolation_RecordCloseChild();
}
- // @port Pop the transform id.
- FrameInterpolation_RecordCloseChild();
}
-
}
UNUSED void func_800557AC() {