summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
authorZelllll <56516451+Zelllll@users.noreply.github.com>2021-01-31 14:09:04 -0600
committerGitHub <noreply@github.com>2021-01-31 15:09:04 -0500
commit9b9122942221ab1da7249d802f5a194731e3c231 (patch)
tree8eb914b4a5cb139fe2aa1eb3da1732f8cd27cd52 /src/code
parentdde70e3c663f581b342897eaae8ed11447010a6f (diff)
Bg_Spot00_Hanebasi (Drawbridge) OK (#614)
* drawbridge progress * matched cursed draw functions * drawbridge OK * fix error that made it not OK * documentation improvements * format fix * update with new actor struct * Update src/overlays/actors/ovl_Bg_Spot00_Hanebasi/z_bg_spot00_hanebasi.c Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com> * Update src/overlays/actors/ovl_Bg_Spot00_Hanebasi/z_bg_spot00_hanebasi.c Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com> * Update src/overlays/actors/ovl_Bg_Spot00_Hanebasi/z_bg_spot00_hanebasi.c Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com> Co-authored-by: Zelllll <elijah@DESKTOP-NMP1I89.localdomain> Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>
Diffstat (limited to 'src/code')
-rw-r--r--src/code/z_camera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_camera.c b/src/code/z_camera.c
index 3c3666a72..33ae1a977 100644
--- a/src/code/z_camera.c
+++ b/src/code/z_camera.c
@@ -7754,7 +7754,7 @@ s16 Camera_ChangeSettingFlags(Camera* camera, s16 setting, s16 flags) {
return -2;
}
}
- if (((setting == CAM_SET_SPOT05A) || (setting == CAM_SET_SPOT05B)) && (gSaveContext.linkAge == 0) &&
+ if (((setting == CAM_SET_SPOT05A) || (setting == CAM_SET_SPOT05B)) && (LINK_IS_ADULT) &&
(camera->globalCtx->sceneNum == SCENE_SPOT05)) {
camera->unk_14A |= 0x10;
return -5;