From 9805dcab32d1de14317ad9b277fd3772e63a7bd7 Mon Sep 17 00:00:00 2001 From: Colton Rushton Date: Wed, 20 May 2020 21:10:00 -0300 Subject: [PATCH] Minor fix to updated bettercamera --- src/game/bettercamera.inc.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/game/bettercamera.inc.h b/src/game/bettercamera.inc.h index 81ec9d07..1dbe2f3b 100644 --- a/src/game/bettercamera.inc.h +++ b/src/game/bettercamera.inc.h @@ -361,8 +361,9 @@ static void newcam_rotate_button(void) } else { - newcam_yaw_acc = newcam_adjust_value(newcam_yaw_acc,(-gPlayer2Controller->stickX/8, intendedXMag)); + newcam_yaw_acc = newcam_adjust_value(newcam_yaw_acc,-gPlayer2Controller->stickX/8, intendedXMag); } + } else if (newcam_analogue) { @@ -371,7 +372,7 @@ static void newcam_rotate_button(void) } if (ABS(gPlayer2Controller->stickY) > 20 && newcam_modeflags & NC_FLAG_YTURN) - newcam_tilt_acc = newcam_adjust_value(newcam_tilt_acc,(-gPlayer2Controller->stickY/8, intendedYMag)); + newcam_tilt_acc = newcam_adjust_value(newcam_tilt_acc,-gPlayer2Controller->stickY/8, intendedYMag); else if (newcam_analogue) {