summaryrefslogtreecommitdiff
path: root/src/code/z_actor.c
diff options
context:
space:
mode:
authorengineer124 <47598039+engineer124@users.noreply.github.com>2024-11-08 11:54:21 +1100
committerGitHub <noreply@github.com>2024-11-07 16:54:21 -0800
commit9cd9099a0431b369be39f111bf57051f544bead3 (patch)
tree53b87def1d4845e71284c638793c3aa93965df1a /src/code/z_actor.c
parent318e39127243263b93da5e3b02cbfbb4152ae743 (diff)
Player Docs: Z Targeting (#1736)
* z target docs * Player_UpdateZTargeting * func docs * more cleanup
Diffstat (limited to 'src/code/z_actor.c')
-rw-r--r--src/code/z_actor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_actor.c b/src/code/z_actor.c
index 621b4856a..dbc28a11b 100644
--- a/src/code/z_actor.c
+++ b/src/code/z_actor.c
@@ -2738,7 +2738,7 @@ void Actor_UpdateAll(PlayState* play, ActorContext* actorCtx) {
Player_ReleaseLockOn(player);
}
- if ((actor == NULL) || (player->unk_738 < 5)) {
+ if ((actor == NULL) || (player->zTargetActiveTimer < 5)) {
actor = NULL;
if (actorCtx->attention.reticleSpinCounter != 0) {
actorCtx->attention.reticleSpinCounter = 0;