summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
authorRozelette <Rozelette@users.noreply.github.com>2020-09-13 13:21:43 -0500
committerGitHub <noreply@github.com>2020-09-13 14:21:43 -0400
commit189d0d6c306ab7678bae1651ffd4d5a1dd6da977 (patch)
treeabf1ed9a7f0b0c06e84ff2020178dc32385ccb9a /src/code
parentb93073249439a3a271e89f3029aa3d1d783b07ff (diff)
Bootstrap actors (#14)
* Bootstrap actors * Address feedback. Improve header guard. Remove ovl_Player_Actor, it will need to be handled seperately.
Diffstat (limited to 'src/code')
-rw-r--r--src/code/code_0x800A5AC0.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/code/code_0x800A5AC0.c b/src/code/code_0x800A5AC0.c
index 420ce32d2..31b42d4d5 100644
--- a/src/code/code_0x800A5AC0.c
+++ b/src/code/code_0x800A5AC0.c
@@ -12,7 +12,7 @@ void EnAObj_Init(ActorEnAObj* this, GlobalContext* ctxt) {
Collision_InitCylinder(ctxt, &s0->collision, (Actor*)s0, &enAObjCylinderInit);
Collision_CylinderMoveToActor((Actor*)s0, &s0->collision);
s0->base.unkA0.mass = 255;
- s0->update = (actor_func)EnAObj_Update1;
+ s0->update = (ActorFunc)EnAObj_Update1;
}
void EnAObj_Destroy(ActorEnAObj* this, GlobalContext* ctxt) {
@@ -24,7 +24,7 @@ void EnAObj_Update1(ActorEnAObj* this, GlobalContext* ctxt) {
s16 v0;
s32 v1;
if (func_800B84D0((Actor*)this, ctxt) != 0) {
- this->update = (actor_func)EnAObj_Update2;
+ this->update = (ActorFunc)EnAObj_Update2;
} else {
v0 = this->base.rotTowardsLinkY - this->base.shape.rot.y;
v1 = (v0 < 0)? -v0 : v0;
@@ -36,7 +36,7 @@ void EnAObj_Update1(ActorEnAObj* this, GlobalContext* ctxt) {
void EnAObj_Update2(ActorEnAObj* this, GlobalContext* ctxt) {
if (func_800B867C((Actor*)this, ctxt) != 0) {
- this->update = (actor_func)EnAObj_Update1;
+ this->update = (ActorFunc)EnAObj_Update1;
}
}