mirror of https://github.com/zeldaret/mm.git
bg_hakugin_post: replace hardcoded size for sizeof (#1608)
This commit is contained in:
parent
250be53cde
commit
7e9bdb202a
|
@ -146,7 +146,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--) {
|
||||
bcopy(&unkStruct->unk_0000[j], &unkStruct->unk_0000[j + 1], 0x38);
|
||||
bcopy(&unkStruct->unk_0000[j], &unkStruct->unk_0000[j + 1], sizeof(BgHakuginPostUnkStruct1));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue