From 9adf922c0812fe96d4bbe6af56dd136a810ae49b Mon Sep 17 00:00:00 2001 From: Sunk <69110309+Sunketchupm@users.noreply.github.com> Date: Tue, 8 Oct 2024 02:48:42 -0400 Subject: [PATCH] Make dpad camera more precise (#358) --- src/game/camera.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/camera.c b/src/game/camera.c index e03d5d4c..8b93e124 100644 --- a/src/game/camera.c +++ b/src/game/camera.c @@ -12299,9 +12299,9 @@ void mode_rom_hack_camera(struct Camera *c) { if (gMarioStates[0].controller->buttonPressed & U_JPAD) { sRomHackYaw = DEGREES(180 + 90) - gMarioStates[0].faceAngle[1]; } else if (gMarioStates[0].controller->buttonDown & L_JPAD) { - sRomHackYaw -= DEGREES(1) * (camera_config_is_x_inverted() ? -1 : 1); + sRomHackYaw -= DEGREES(0.5) * (camera_config_is_x_inverted() ? -1 : 1); } else if (gMarioStates[0].controller->buttonDown & R_JPAD) { - sRomHackYaw += DEGREES(1) * (camera_config_is_x_inverted() ? -1 : 1); + sRomHackYaw += DEGREES(0.5) * (camera_config_is_x_inverted() ? -1 : 1); } else if (gMarioStates[0].controller->buttonPressed & D_JPAD) { sRomHackYaw = snap_to_45_degrees(sRomHackYaw); }