summaryrefslogtreecommitdiff
path: root/src/code/z_en_a_keep.c
diff options
context:
space:
mode:
authorfig02 <fig02srl@gmail.com>2024-09-07 09:23:04 -0400
committerGitHub <noreply@github.com>2024-09-07 09:23:04 -0400
commit88c447596742f39cdd6e604b162b8ace16c7f720 (patch)
treef7d51d3383ed1ce2a66a2949861e9614e62919ea /src/code/z_en_a_keep.c
parenta30f130eb9e48d55d8d7c935fb708af1156fee42 (diff)
Target -> Attention (System Rename) (#2149)
* TargetContext -> Attention * targetCtx -> attention * Target_ -> Attention_ * FindTargetableActor -> FindActor * targetableActorP -> attentionActorP * data vars (and 1 function I missed) * targetMode -> attentionRangeType * attention range enum comments * ATTENTION_RANGE_ * attention range data * TargetColor -> AttentionColor * missed one * fixup color variables * targetArrowOffset -> lockOnArrowOffset * focus pos comment * targetPriority -> attentionPriority * assets * loose-ends * Attention System Description * format * skj range type * enemy bgm
Diffstat (limited to 'src/code/z_en_a_keep.c')
-rw-r--r--src/code/z_en_a_keep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/z_en_a_keep.c b/src/code/z_en_a_keep.c
index d99680ae5..80e49121e 100644
--- a/src/code/z_en_a_keep.c
+++ b/src/code/z_en_a_keep.c
@@ -145,14 +145,14 @@ void EnAObj_Init(Actor* thisx, PlayState* play) {
case A_OBJ_SIGNPOST_OBLONG:
case A_OBJ_SIGNPOST_ARROW:
thisx->textId = (this->textId & 0xFF) | 0x300;
- thisx->targetArrowOffset = 500.0f;
+ thisx->lockOnArrowOffset = 500.0f;
thisx->flags |= ACTOR_FLAG_0 | ACTOR_FLAG_3;
this->focusYoffset = 45.0f;
EnAObj_SetupWaitTalk(this, thisx->params);
Collider_InitCylinder(play, &this->collider);
Collider_SetCylinder(play, &this->collider, thisx, &sCylinderInit);
thisx->colChkInfo.mass = MASS_IMMOVABLE;
- thisx->targetMode = TARGET_MODE_0;
+ thisx->attentionRangeType = ATTENTION_RANGE_0;
break;
case A_OBJ_BOULDER_FRAGMENT:
thisx->gravity = -1.5f;