From b3e1ddbde4a0ff751138591a729d33d5af3358a2 Mon Sep 17 00:00:00 2001 From: Jeod <47716344+JeodC@users.noreply.github.com> Date: Sun, 2 Aug 2026 20:32:17 -0400 Subject: [PATCH] Kill note shadows for custom objects --- src/port/Rando/CustomObject/CustomObject.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/port/Rando/CustomObject/CustomObject.cpp b/src/port/Rando/CustomObject/CustomObject.cpp index aed5bcb2a..c635e879e 100644 --- a/src/port/Rando/CustomObject/CustomObject.cpp +++ b/src/port/Rando/CustomObject/CustomObject.cpp @@ -168,6 +168,10 @@ Actor* CustomObject::SpawnCustomActorEX(RandoCheckId randoCheckId, int32_t posit Actor* customActor = actor_new(position, 0, actorInfo, flags); if (customActor != NULL) { + // Music notes don't cast shadows, custom or otherwise. + if (actorInfo->actorId == ACTOR_51_MUSIC_NOTE) { + customActor->unk124_6 = 0; + } customActor = SetCustomActorParametersEX(randoCheckId, customActor); randoSpawnedCheckIds.push_back(randoCheckId); }