From 74fcd973d11a534eb73a10dc1117ce60d31f4799 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+Agent-11@users.noreply.github.com> Date: Mon, 1 Jan 2024 11:49:41 -0500 Subject: [PATCH] Fix water camera and TTM star cutscene --- src/game/camera.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/camera.c b/src/game/camera.c index c00b0e79..26b8771c 100644 --- a/src/game/camera.c +++ b/src/game/camera.c @@ -2967,7 +2967,7 @@ void set_camera_mode(struct Camera *c, s16 mode, s16 frames) { } if (mode != CAMERA_MODE_NEWCAM && gLakituState.mode != CAMERA_MODE_NEWCAM) { - if (mode != CAMERA_MODE_WATER_SURFACE && gCurrLevelArea != AREA_TTM_OUTSIDE) { + if (!(mode == CAMERA_MODE_WATER_SURFACE && gCurrLevelArea == AREA_TTM_OUTSIDE)) { // Clear movement flags that would affect the transition gCameraMovementFlags &= (u16)~(CAM_MOVE_RESTRICT | CAM_MOVE_ROTATE); gCameraMovementFlags |= CAM_MOVING_INTO_MODE;