Update podium_ceremony_actors.c (#475)

This commit is contained in:
MegaMech
2025-07-18 07:37:27 -06:00
committed by GitHub
parent 5c123911ec
commit 8a0fa9bea3
+1 -7
View File
@@ -308,14 +308,8 @@ void unused_80280FA0(UNUSED CeremonyActor* actor) {
void unused_80280FA8(UNUSED CeremonyActor* actor) {
}
/*
* Original game only cleared D_802874D8.actorTimer.
* However, the whole struct needs to be cleared otherwise, the
* podium racers do not reset to their starting positions
* and some of the camera scenes or positions get mixed up.
*/
void balloons_and_fireworks_init(void) {
memset(&D_802874D8, 0, sizeof(struct_D_802874D8)); // podium fix
D_802874D8.actorTimer = 0;
sPodiumActorList = (CeremonyActor*) get_next_available_memory_addr(sizeof(CeremonyActor) * 200);
bzero(sPodiumActorList, (sizeof(CeremonyActor) * 200));
new_actor(&initDummy);