From a065ec2a1adf197a3118209a7b8b2714b350f84b Mon Sep 17 00:00:00 2001 From: danielryb <59661841+danielryb@users.noreply.github.com> Date: Thu, 21 Nov 2024 04:31:18 +0100 Subject: [PATCH] fix typo --- patches/camera_patches.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/camera_patches.c b/patches/camera_patches.c index e92a446..46e018f 100644 --- a/patches/camera_patches.c +++ b/patches/camera_patches.c @@ -1217,7 +1217,7 @@ RECOMP_PATCH s32 Camera_Parallel1(Camera* camera) { bool targeting_held = func_80123434(player) || player->lockOnActor != NULL; // @recomp Fix camera rotating with player if z-target gets released too fast after transition. - if (targeting_held &! prev_targeting_held) { + if ((targeting_held) && (!prev_targeting_held)) { // @recomp Reset timer2 to avoid immediate rotation, if player presses, releases and presses z-target in a very short time-window. rwData->timer2 = 6; rwData->unk_1E = BINANG_ROT180(camera->focalActorPosRot.rot.y) + roData->unk_22;