summaryrefslogtreecommitdiff
path: root/src/code_0805436C.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2021-11-12 01:34:34 -0800
committertheo3 <arisstephenson2@gmail.com>2021-11-12 01:34:34 -0800
commitecc8a1439ddeedd458af5427711e07e146ed4612 (patch)
treeefe4f755b15c985ecba9c4a0ad7e3759cd510e3d /src/code_0805436C.c
parentf70c95f0373d659683840682d327da3db774659c (diff)
remove redundant unions
Diffstat (limited to 'src/code_0805436C.c')
-rw-r--r--src/code_0805436C.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code_0805436C.c b/src/code_0805436C.c
index 7ec445b3..8eb7df11 100644
--- a/src/code_0805436C.c
+++ b/src/code_0805436C.c
@@ -251,11 +251,11 @@ u32 CreateItemDrop(Entity* arg0, u32 itemID, u32 itemParameter) {
}
if (arg0->kind == 6) {
if (arg0->id == 99) {
- arg0->attachedEntity = itemEntity;
+ arg0->child = itemEntity;
} else if (arg0->id == 0x1e) {
itemEntity->direction = arg0->animationState << 3 | 0x80;
itemEntity->speed = 0xc0;
- itementity->hVelocity = 0x18000;
+ itementity->zVelocity = 0x18000;
}
}
CopyPosition(arg0, itemEntity);