diff options
| author | Archez <Archez@users.noreply.github.com> | 2024-04-06 11:52:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-06 08:52:24 -0700 |
| commit | 7e9bdb202acc2bdd388ff2f71b784980f646e4c8 (patch) | |
| tree | aa4c5ed370d343b0d5811f8d0204079d66f6d42e /src | |
| parent | 250be53cde9e9cc91e6b268b25e2f09e4ddb8125 (diff) | |
bg_hakugin_post: replace hardcoded size for sizeof (#1608)
Diffstat (limited to 'src')
| -rw-r--r-- | src/overlays/actors/ovl_Bg_Hakugin_Post/z_bg_hakugin_post.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/overlays/actors/ovl_Bg_Hakugin_Post/z_bg_hakugin_post.c b/src/overlays/actors/ovl_Bg_Hakugin_Post/z_bg_hakugin_post.c index bd3e2bef9..1d17114d9 100644 --- a/src/overlays/actors/ovl_Bg_Hakugin_Post/z_bg_hakugin_post.c +++ b/src/overlays/actors/ovl_Bg_Hakugin_Post/z_bg_hakugin_post.c @@ -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; } |
