Minor fix to updated bettercamera

This commit is contained in:
Colton Rushton 2020-05-20 21:10:00 -03:00
parent 6e936174b0
commit 9805dcab32
1 changed files with 3 additions and 2 deletions

View File

@ -361,8 +361,9 @@ static void newcam_rotate_button(void)
} }
else 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 else
if (newcam_analogue) if (newcam_analogue)
{ {
@ -371,7 +372,7 @@ static void newcam_rotate_button(void)
} }
if (ABS(gPlayer2Controller->stickY) > 20 && newcam_modeflags & NC_FLAG_YTURN) 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 else
if (newcam_analogue) if (newcam_analogue)
{ {