diff options
| author | Pepe20129 <72659707+Pepe20129@users.noreply.github.com> | 2023-09-10 19:23:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-10 12:23:43 -0500 |
| commit | 5cf0eeef5223baaec3f5dbf4cdc5b0579c1b1255 (patch) | |
| tree | a4563947f927062f3fd7eade84bb074c9d958e27 /soh/src/code | |
| parent | bba0a54dbfa9fdca47d4ffb6e1324d7f66630001 (diff) | |
Add OnActorKill & OnEnemyDefeat hooks (#3112)
* Add OnActorKill & OnEnemyDefeat hooks
* Remove commented out code
* Re-run build
* Add missing include statements
Diffstat (limited to 'soh/src/code')
| -rw-r--r-- | soh/src/code/z_actor.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |
