summaryrefslogtreecommitdiff
path: root/src/object/objectB2.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2021-02-28 16:54:28 -0800
committertheo3 <arisstephenson2@gmail.com>2021-02-28 17:04:49 -0800
commite3ee1058bb05edd47321a5554995a1bc78b42289 (patch)
tree4284940e28d2c44940dee10bfa352fcd3bee5b1b /src/object/objectB2.c
parent6596831a6bff9638c00baf7d81632d6ed1ed7e02 (diff)
create object enum and update entity type struct
Diffstat (limited to 'src/object/objectB2.c')
-rw-r--r--src/object/objectB2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object/objectB2.c b/src/object/objectB2.c
index 7c4073fb..4722d2e9 100644
--- a/src/object/objectB2.c
+++ b/src/object/objectB2.c
@@ -13,14 +13,14 @@ void ObjectB2(Entity* this) {
if (this->action == 0) {
this->action = 1;
this->actionDelay = 0x10;
- this->direction = (this->entityType).form << 3;
+ this->direction = this->type << 3;
if (this->collisionLayer == 2) {
pEVar3 = &gUnk_0200D654;
} else {
pEVar3 = &gUnk_02027EB4;
}
this->attachedEntity = pEVar3;
- InitializeAnimation(this, this->entityType.form);
+ InitializeAnimation(this, this->type);
}
this->nonPlanarMovement = this->parent->nonPlanarMovement;
sub_0806F69C(this);