From db898d0e4854c70a356d037919ea48aed1f62816 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Mon, 12 Feb 2018 08:16:28 -0500 Subject: [PATCH] Minor edit to make it possible to build when trying to match the nonmatching fn --- src/record_mixing.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/record_mixing.c b/src/record_mixing.c index ff4d64f08..79db07bf0 100644 --- a/src/record_mixing.c +++ b/src/record_mixing.c @@ -894,8 +894,8 @@ static void sub_80E7B60(struct UnkStruct_80E7B60 *src, size_t recordSize, u8 whi break; } _src = (void *)src + which * recordSize; - memcpy(&gSaveBlock1Ptr->daycare.mons[0].mail, &_src->unk_00[0], sizeof(struct DayCareMailRecordMixing)); - memcpy(&gSaveBlock1Ptr->daycare.mons[1].mail, &_src->unk_00[1], sizeof(struct DayCareMailRecordMixing)); + memcpy(&gSaveBlock1Ptr->daycare.mons[0].misc.mail, &_src->unk_00[0], sizeof(struct DayCareMailRecordMixing)); + memcpy(&gSaveBlock1Ptr->daycare.mons[1].misc.mail, &_src->unk_00[1], sizeof(struct DayCareMailRecordMixing)); SeedRng(oldSeed); } #else