diff options
| author | fig02 <fig02srl@gmail.com> | 2024-09-24 05:00:38 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-24 05:00:38 -0400 |
| commit | 3cea46a6c120a7a96123ca6445c4c149acd1d2e6 (patch) | |
| tree | acfc54468e57065640847895bc8b52308827ef26 /src/code/z_actor.c | |
| parent | 52a1c2f9694a45f42397121ab52d62662b82a045 (diff) | |
Z-Targeting Loose Ends (#2217)
* Z-Targeting loose ends
* format
* add stateflag comment
* typo
* unname PLAYER_STATE1_19 for now
* tweak parallel comment
* one more tweak
Diffstat (limited to 'src/code/z_actor.c')
| -rw-r--r-- | src/code/z_actor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/z_actor.c b/src/code/z_actor.c index 7e99d066f..39c1ecdea 100644 --- a/src/code/z_actor.c +++ b/src/code/z_actor.c @@ -2461,7 +2461,7 @@ void Actor_UpdateAll(PlayState* play, ActorContext* actorCtx) { if ((actor != NULL) && (actor->update == NULL)) { actor = NULL; - func_8008EDF0(player); + Player_ReleaseLockOn(player); } if ((actor == NULL) || (player->zTargetActiveTimer < 5)) { @@ -3207,7 +3207,7 @@ Actor* Actor_Delete(ActorContext* actorCtx, Actor* actor, PlayState* play) { ACTOR_DEBUG_PRINTF(T("アクタークラス削除 [%s]\n", "Actor class deleted [%s]\n"), name); if ((player != NULL) && (actor == player->focusActor)) { - func_8008EDF0(player); + Player_ReleaseLockOn(player); Camera_RequestMode(Play_GetCamera(play, Play_GetActiveCamId(play)), CAM_MODE_NORMAL); } |
