diff options
| author | fig02 <fig02srl@gmail.com> | 2024-09-16 12:34:23 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-16 12:34:23 -0400 |
| commit | c91e62f000b56f9a109b3e8ac5e2b8d370949136 (patch) | |
| tree | 018af7543607cd396a5d065538ba96ce7fc05aaa /src/code/z_actor.c | |
| parent | 2740bb020ed2f4d3287c1111ea79e54fd85c24df (diff) | |
Document `zTargetActiveTimer` (#2200)
* document zTargetActiveTimer
* edit comments
* Update src/overlays/actors/ovl_player_actor/z_player.c
Co-authored-by: cadmic <cadmic24@gmail.com>
* capitalization
---------
Co-authored-by: cadmic <cadmic24@gmail.com>
Diffstat (limited to 'src/code/z_actor.c')
| -rw-r--r-- | src/code/z_actor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_actor.c b/src/code/z_actor.c index b7b9e31b0..5785d62a1 100644 --- a/src/code/z_actor.c +++ b/src/code/z_actor.c @@ -2413,7 +2413,7 @@ void Actor_UpdateAll(PlayState* play, ActorContext* actorCtx) { func_8008EDF0(player); } - if ((actor == NULL) || (player->unk_66C < 5)) { + if ((actor == NULL) || (player->zTargetActiveTimer < 5)) { actor = NULL; if (actorCtx->attention.reticleSpinCounter != 0) { |
