diff options
| author | Catobat <69204835+Catobat@users.noreply.github.com> | 2023-05-06 00:36:48 +0200 |
|---|---|---|
| committer | Catobat <69204835+Catobat@users.noreply.github.com> | 2023-05-06 00:36:48 +0200 |
| commit | 18b86e484aea3c3b913709259f71c1a516a34db1 (patch) | |
| tree | f343dc0f109b7248054af3a8ed440e5c07a88659 /src/object/cameraTarget.c | |
| parent | 8ff6027f97e11ce05904267cbb79306474287923 (diff) | |
Formatting
Diffstat (limited to 'src/object/cameraTarget.c')
| -rw-r--r-- | src/object/cameraTarget.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/object/cameraTarget.c b/src/object/cameraTarget.c index 88831f94..57a5623a 100644 --- a/src/object/cameraTarget.c +++ b/src/object/cameraTarget.c @@ -103,7 +103,8 @@ void CameraTarget_Action1(Entity* this) { if (this->timer) { this->timer--; } else { - if ((gPossibleInteraction.currentObject->entity != NULL) && ((u8)(gPossibleInteraction.currentObject->kinstoneId - 1) < 100)) { + if ((gPossibleInteraction.currentObject->entity != NULL) && + ((u8)(gPossibleInteraction.currentObject->kinstoneId - 1) < 100)) { this->child = gPossibleInteraction.currentObject->entity; this->interactType = gPossibleInteraction.currentIndex; sub_08083A40(this); @@ -119,8 +120,8 @@ void CameraTarget_Action2(Entity* this) { u32 temp2; const KinstoneWorldEvent* ptr; - if ((this->type != 1) && - (((u8)(gPossibleInteraction.currentObject->kinstoneId - 1) >= 100 || (this->child != gPossibleInteraction.currentObject->entity)))) { + if ((this->type != 1) && (((u8)(gPossibleInteraction.currentObject->kinstoneId - 1) >= 100 || + (this->child != gPossibleInteraction.currentObject->entity)))) { sub_080838DC(this); } else { this->x = this->child->x; |
