fix snowhead pillar memcpy (#130)

This commit is contained in:
Archez
2024-05-22 09:04:59 -05:00
committed by Garrett Cox
parent 676cfb7a55
commit d7b4bd8e73
@@ -149,7 +149,7 @@ void func_80A9AFB4(BgHakuginPost* this, PlayState* play, BgHakuginPostUnkStruct*
if ((unkStruct->unk_0000[i].unk_34 == 0) ||
(this->dyna.actor.world.pos.y < unkStruct->unk_0000[i].unk_08.y)) {
for (j = 10; j >= i; j--) {
memcpy(&unkStruct->unk_0000[j + 1], &unkStruct->unk_0000[j], 0x38);
memcpy(&unkStruct->unk_0000[j + 1], &unkStruct->unk_0000[j], sizeof(BgHakuginPostUnkStruct1));
}
break;
}