mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2026-04-27 20:51:40 +00:00
fix typo
This commit is contained in:
parent
06079093ee
commit
a065ec2a1a
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue