From 5cf0eeef5223baaec3f5dbf4cdc5b0579c1b1255 Mon Sep 17 00:00:00 2001 From: Pepe20129 <72659707+Pepe20129@users.noreply.github.com> Date: Sun, 10 Sep 2023 19:23:43 +0200 Subject: Add OnActorKill & OnEnemyDefeat hooks (#3112) * Add OnActorKill & OnEnemyDefeat hooks * Remove commented out code * Re-run build * Add missing include statements --- soh/src/code/z_actor.c | 1 + 1 file changed, 1 insertion(+) (limited to 'soh/src/code') diff --git a/soh/src/code/z_actor.c b/soh/src/code/z_actor.c index e39a29abd..953886f12 100644 --- a/soh/src/code/z_actor.c +++ b/soh/src/code/z_actor.c @@ -1147,6 +1147,7 @@ s32 func_8002D53C(PlayState* play, TitleCardContext* titleCtx) { } void Actor_Kill(Actor* actor) { + GameInteractor_ExecuteOnActorKill(actor); actor->draw = NULL; actor->update = NULL; actor->flags &= ~ACTOR_FLAG_TARGETABLE; -- cgit v1.2.3