diff options
| author | theo3 <arisstephenson2@gmail.com> | 2020-08-04 17:18:59 -0700 |
|---|---|---|
| committer | theo3 <arisstephenson2@gmail.com> | 2020-08-04 17:18:59 -0700 |
| commit | 2575c0a63df8770448f92a177a3f45634d7ce45e (patch) | |
| tree | b69c2fe1bc3a4cd0178fb8b47c9e6595ab9f41ca /src/code_08077B98.c | |
| parent | 7f7b74cfd5874da1e7bc75756319a38d6fd94660 (diff) | |
| parent | 765047808cf2306fe6130c316213aaf0aab1d0cf (diff) | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/code_08077B98.c')
| -rw-r--r-- | src/code_08077B98.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/code_08077B98.c b/src/code_08077B98.c index c908595b..a29e2c22 100644 --- a/src/code_08077B98.c +++ b/src/code_08077B98.c @@ -83,7 +83,7 @@ void* sub_08077C54(UnkItemStruct* unk) item->entityType.type = 8; item->flags = 0xa0; item->parent = (Entity*)unk; - item->field_0x68 = unk->field_0x1; + item->field_0x68.HALF.LO = unk->field_0x1; sub_0805EA2C(item, 2); } return item; @@ -111,7 +111,7 @@ Entity * CreatePlayerItem(u32 subtype, u32 form, u32 parameter, u32 unk) (ent->entityType).subtype = subtype; (ent->entityType).form = form; (ent->entityType).parameter = parameter; - ent->field_0x68 = unk; + ent->field_0x68.HALF.LO = unk; sub_0805EA2C(ent, 2); } return ent; @@ -128,7 +128,7 @@ Entity * sub_08077CF8(u32 subtype, u32 form, u32 parameter, u32 unk) (ent->entityType).subtype = subtype; (ent->entityType).form = form; (ent->entityType).parameter = parameter; - ent->field_0x68 = unk; + ent->field_0x68.HALF.LO = unk; sub_0805EA2C(ent, 2); } return ent; |
